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 {
265
265
return this .enableAutoPlay ;
266
266
},
267
267
async renderFile () {
268
+ await this .$nextTick ();
268
269
this .fullScreenRenderer = vtkFullScreenRenderWindow .newInstance ({
269
270
background: [0.4 , 0.44 , 0.52 ],
270
271
rootContainer: this .$refs .rootContainer ,
@@ -416,7 +417,6 @@ export default {
416
417
<!-- Add "scoped" attribute to limit CSS to this component only -->
417
418
<style scoped>
418
419
#vtk-content {
419
- position : relative ;
420
420
display : flex ;
421
421
flex-flow : column nowrap ;
422
422
align-items : stretch ;
@@ -428,7 +428,6 @@ export default {
428
428
}
429
429
430
430
.file-controller {
431
- position : absolute ;
432
431
bottom : 0 ;
433
432
left : 0 ;
434
433
right : 0 ;
@@ -448,7 +447,6 @@ export default {
448
447
}
449
448
450
449
.vtk-geometry-controls {
451
- position : absolute ;
452
450
top : 0 ;
453
451
left : 0 ;
454
452
right : 0 ;
You can’t perform that action at this time.
0 commit comments