Resize GPU preview on sidebar toggle
This commit is contained in:
parent
dc33bed31c
commit
9ea17ce560
2 changed files with 12 additions and 0 deletions
|
|
@ -35,6 +35,10 @@ export default {
|
|||
},
|
||||
|
||||
mounted() {
|
||||
// A global signal listener to change the GPU preview state
|
||||
this.$root.$on('globalResizePreview', (state) => {
|
||||
this.handleDoneResize()
|
||||
})
|
||||
// A global signal listener to change the GPU preview state
|
||||
this.$root.$on('globalTogglePreview', (state) => {
|
||||
console.log(`Toggling preview to ${state}`)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue