Skip to content

Commit

Permalink
Merge pull request #81 from ThornWalli/feature/update
Browse files Browse the repository at this point in the history
fix(window): fix window-wrapper size
  • Loading branch information
ThornWalli authored May 10, 2020
2 parents 77a73f0 + 766284c commit 44e0b76
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/components/environments/WindowWrapper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,13 @@ export default {
}
},
watch: {
parentLayout () {
this.onResize();
parentLayout: {
deep: true,
handler () {
this.$nextTick(() => {
this.onResize();
});
}
},
contentLayoutSize (size) {
this.wrapper.layout.size = size;
Expand Down

0 comments on commit 44e0b76

Please sign in to comment.