From f37cf84ea4088375e9139543fabcf8723ec83cd0 Mon Sep 17 00:00:00 2001 From: Igor Zinken <730069+igorski@users.noreply.github.com> Date: Fri, 27 Mar 2026 19:08:49 +0100 Subject: [PATCH] Fix issue where moving between documents would not have a selected tile for a timeline document --- src/components/timeline-panel/timeline-panel.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/timeline-panel/timeline-panel.vue b/src/components/timeline-panel/timeline-panel.vue index 9c9406e..80ce1cc 100644 --- a/src/components/timeline-panel/timeline-panel.vue +++ b/src/components/timeline-panel/timeline-panel.vue @@ -130,10 +130,11 @@ export default { watch: { activeDocument: { immediate: true, - handler( document?: Document ): void { + handler( activeDocument?: Document ): void { flushTileCache(); - if ( document ) { + if ( activeDocument ) { this.cacheTiles(); + this.$nextTick(() => this.setActiveGroup( 0 )); } } },