diff --git a/girder/girder_large_image/web_client/vue/components/FrameSelector.vue b/girder/girder_large_image/web_client/vue/components/FrameSelector.vue index 6bc449076..7eda00758 100644 --- a/girder/girder_large_image/web_client/vue/components/FrameSelector.vue +++ b/girder/girder_large_image/web_client/vue/components/FrameSelector.vue @@ -13,6 +13,7 @@ export default Vue.extend({ currentModeId: 1, indices: [], indexInfo: {}, + style: {}, }; }, watch: { @@ -50,6 +51,7 @@ export default Vue.extend({ frame += info.current * info.stride; } }); + this.currentFrame = frame let style = this.currentModeId > 1 ? this.style : undefined this.frameUpdate(frame, style); }, @@ -135,6 +137,8 @@ export default Vue.extend({