diff --git a/src/renderer/components/TimelineSpace/Modals/ImageViewer.vue b/src/renderer/components/TimelineSpace/Modals/ImageViewer.vue index a54b5006..85b6548e 100644 --- a/src/renderer/components/TimelineSpace/Modals/ImageViewer.vue +++ b/src/renderer/components/TimelineSpace/Modals/ImageViewer.vue @@ -6,9 +6,9 @@
- + - +
@@ -48,10 +48,10 @@ export default { this.$store.dispatch('TimelineSpace/Modals/ImageViewer/closeModal') }, decrementIndex () { - this.$store.dispatch('TimelineSpace/Modals/ImageViewer/decrementIndex') + if (this.showLeft) this.$store.dispatch('TimelineSpace/Modals/ImageViewer/decrementIndex') }, incrementIndex () { - this.$store.dispatch('TimelineSpace/Modals/ImageViewer/incrementIndex') + if (this.showRight) this.$store.dispatch('TimelineSpace/Modals/ImageViewer/incrementIndex') } } }