Fix issue where moving between documents would not have a selected tile for a timeline document

This commit is contained in:
Igor Zinken
2026-03-27 19:08:49 +01:00
parent b605317578
commit f37cf84ea4

View File

@@ -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 ));
}
}
},