mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Address crash by properly updating currentLayer and refreshing selection to force update instance state (#48373)
This commit is contained in:
parent
6945f1c483
commit
fb25cf11e7
@ -91,6 +91,8 @@ export class Scene {
|
|||||||
// If editing is enabled, clear selecto instance
|
// If editing is enabled, clear selecto instance
|
||||||
const destroySelecto = enableEditing;
|
const destroySelecto = enableEditing;
|
||||||
this.initMoveable(destroySelecto, enableEditing);
|
this.initMoveable(destroySelecto, enableEditing);
|
||||||
|
this.currentLayer = this.root;
|
||||||
|
this.selection.next([]);
|
||||||
}
|
}
|
||||||
}, 100);
|
}, 100);
|
||||||
return this.root;
|
return this.root;
|
||||||
|
Loading…
Reference in New Issue
Block a user