From 0fd2dc355a75dff4ffec734f7ad5bc53b0f4b491 Mon Sep 17 00:00:00 2001 From: MK2k Date: Sat, 26 Sep 2020 14:07:51 +0200 Subject: [PATCH] App: show fullscreen-exit icon when already in fullscreen --- src/App.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/App.vue b/src/App.vue index 7c7403eb..ffe24ce6 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1064,7 +1064,8 @@ style="margin-left: 16px; margin-right: -8px" v-on:click="toggleFullScreen" > - mdi-fullscreen + mdi-fullscreen-exit + mdi-fullscreen @@ -1259,6 +1260,7 @@ export default { source: String, }, data: () => ({ + isFullScreen: true, showLoadingOverlay: false, shared, searchText: null, @@ -2489,6 +2491,8 @@ export default { }, toggleFullScreen() { + this.isFullScreen = !remote.getCurrentWindow().isFullScreen(); + remote .getCurrentWindow() .setFullScreen(!remote.getCurrentWindow().isFullScreen());