Skip to content

Commit

Permalink
WIP: css box computation to fast, results in height 0
Browse files Browse the repository at this point in the history
  • Loading branch information
aseeland committed Sep 12, 2023
1 parent fafe14e commit 5993e78
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ export default {
return this.enableAutoPlay;
},
async renderFile() {
await this.$nextTick();
this.fullScreenRenderer = vtkFullScreenRenderWindow.newInstance({
background: [0.4, 0.44, 0.52],
rootContainer: this.$refs.rootContainer,
Expand Down Expand Up @@ -416,7 +417,6 @@ export default {
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
#vtk-content {
position: relative;
display: flex;
flex-flow: column nowrap;
align-items: stretch;
Expand All @@ -428,7 +428,6 @@ export default {
}

.file-controller {
position: absolute;
bottom: 0;
left: 0;
right: 0;
Expand All @@ -448,7 +447,6 @@ export default {
}

.vtk-geometry-controls {
position: absolute;
top: 0;
left: 0;
right: 0;
Expand Down

0 comments on commit 5993e78

Please sign in to comment.