[v9.2.x] Canvas: Inconsistent save behavior (#61012)
Canvas: Save element placement (#61007)
(cherry picked from commit 88a8cba6b0)
Co-authored-by: Adela Almasan <88068998+adela-almasan@users.noreply.github.com>
This commit is contained in:
co-authored by
Adela Almasan
parent
921cdb0d4b
commit
586908a43f
@@ -1,4 +1,4 @@
|
||||
// Copyright 2022 Grafana Labs
|
||||
// Copyright 2023 Grafana Labs
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -285,6 +285,8 @@ export class ElementState implements LayerElement {
|
||||
|
||||
this.applyLayoutStylesToDiv();
|
||||
this.revId++;
|
||||
|
||||
this.getScene()?.save();
|
||||
}
|
||||
|
||||
updateData(ctx: DimensionContext) {
|
||||
|
||||
Reference in New Issue
Block a user