mirror of
https://github.com/igorski/bitmappery.git
synced 2026-06-17 11:45:04 +02:00
Fix issue where moving between documents would not have a selected tile for a timeline document
This commit is contained in:
@@ -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 ));
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user