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 ++++ viewer/src/views/GallerySearch.vue | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'viewer/src/views') 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); } 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; + } } -- cgit v1.2.3