feat: editable element stats (#6382)

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
This commit is contained in:
Ryan Di
2024-06-13 01:49:46 +08:00
committed by GitHub
parent 22b39277f5
commit d2f67e619f
40 changed files with 3596 additions and 413 deletions
+3
View File
@@ -105,6 +105,9 @@ class Scene {
}
}
/**
* @deprecated pass down `app.scene` and use it directly
*/
static getScene(elementKey: ElementKey): Scene | null {
if (isIdKey(elementKey)) {
return this.sceneMapById.get(elementKey) || null;