File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
viplab-standalone-frontend-vue/src/components/vtk-plots Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -265,6 +265,7 @@ export default {
265265 return this .enableAutoPlay ;
266266 },
267267 async renderFile () {
268+ await this .$nextTick ();
268269 this .fullScreenRenderer = vtkFullScreenRenderWindow .newInstance ({
269270 background: [0.4 , 0.44 , 0.52 ],
270271 rootContainer: this .$refs .rootContainer ,
@@ -416,7 +417,6 @@ export default {
416417<!-- Add "scoped" attribute to limit CSS to this component only -->
417418<style scoped>
418419#vtk-content {
419- position : relative ;
420420 display : flex ;
421421 flex-flow : column nowrap ;
422422 align-items : stretch ;
@@ -428,7 +428,6 @@ export default {
428428}
429429
430430.file-controller {
431- position : absolute ;
432431 bottom : 0 ;
433432 left : 0 ;
434433 right : 0 ;
@@ -448,7 +447,6 @@ export default {
448447}
449448
450449.vtk-geometry-controls {
451- position : absolute ;
452450 top : 0 ;
453451 left : 0 ;
454452 right : 0 ;
You can’t perform that action at this time.
0 commit comments