Loading src/components/paneDisplayComponents/streamDisplay.vue +8 −0 Original line number Diff line number Diff line Loading @@ -37,8 +37,16 @@ export default { mounted() { // A global signal listener to change the GPU preview state this.$root.$on('globalTogglePreview', (state) => { console.log(`Toggling preview to ${state}`) this.previewRequest(state) }) this.$root.$on('globalReenablePreview', () => { if (this.$store.state.settings.autoGpuPreview) { console.log("Re-enabling preview") this.previewRequest(true) } }) }, created: function () { Loading Loading
src/components/paneDisplayComponents/streamDisplay.vue +8 −0 Original line number Diff line number Diff line Loading @@ -37,8 +37,16 @@ export default { mounted() { // A global signal listener to change the GPU preview state this.$root.$on('globalTogglePreview', (state) => { console.log(`Toggling preview to ${state}`) this.previewRequest(state) }) this.$root.$on('globalReenablePreview', () => { if (this.$store.state.settings.autoGpuPreview) { console.log("Re-enabling preview") this.previewRequest(true) } }) }, created: function () { Loading