diff --git a/frontend/src/views/host/terminal/terminal/index.vue b/frontend/src/views/host/terminal/terminal/index.vue index 401602359..83a5b2dc7 100644 --- a/frontend/src/views/host/terminal/terminal/index.vue +++ b/frontend/src/views/host/terminal/terminal/index.vue @@ -149,9 +149,11 @@ const globalStore = GlobalStore(); function toggleFullscreen() { if (screenfull.isEnabled) { screenfull.toggle(); - globalStore.setScreenFull(); } } +screenfull.on('change', () => { + globalStore.isFullScreen = screenfull.isFullscreen; +}); const localHostID = ref();