mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 12:14:08 -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
|
||||
const destroySelecto = enableEditing;
|
||||
this.initMoveable(destroySelecto, enableEditing);
|
||||
this.currentLayer = this.root;
|
||||
this.selection.next([]);
|
||||
}
|
||||
}, 100);
|
||||
return this.root;
|
||||
|
Loading…
Reference in New Issue
Block a user