From 8e91297ec0b090e3439efe2137a59192f5bb857b Mon Sep 17 00:00:00 2001
From: Zero~Informatique
Date: Tue, 11 Feb 2020 01:50:16 +0100
Subject: viewer: browsing pictures disables fullscreen. Resolves #115

---
 viewer/src/views/GalleryDirectory.vue | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'viewer/src/views/GalleryDirectory.vue')

diff --git a/viewer/src/views/GalleryDirectory.vue b/viewer/src/views/GalleryDirectory.vue
index 38686a8..162ef6e 100644
--- a/viewer/src/views/GalleryDirectory.vue
+++ b/viewer/src/views/GalleryDirectory.vue
@@ -35,6 +35,10 @@ import Tools from "@/tools";
 export default class GalleryDirectory extends Vue {
   @Prop({ required: true }) readonly directory!: Gallery.Directory;
 
+  mounted() {
+    this.$uiStore.fullscreen = false;
+  }
+
   get orderedItems() {
     return Tools.directoriesFirst(this.directory.properties.items);
   }
-- 
cgit v1.2.3

