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/GallerySearch.vue | 4 ++++
 1 file changed, 4 insertions(+)

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

diff --git a/viewer/src/views/GallerySearch.vue b/viewer/src/views/GallerySearch.vue
index 278bbe3..97c5c66 100644
--- a/viewer/src/views/GallerySearch.vue
+++ b/viewer/src/views/GallerySearch.vue
@@ -34,6 +34,10 @@ import { Component, Vue, Prop } from "vue-property-decorator";
 @Component
 export default class GalleryPicture extends Vue {
   @Prop({ required: true }) readonly items!: Gallery.Item[];
+
+  mounted() {
+    this.$uiStore.fullscreen = false;
+  }
 }
 </script>
 
-- 
cgit v1.2.3

