refactor: rename append to appendTo

This commit is contained in:
AncTe committed 2025-05-21 18:12:44 +08:00
1 parent 771e61e6aa
commit 5cd00534c0
11 files changed
+35 -36

No files matched your search

+2 -2
View File
@@ -1493,8 +1493,8 @@ export class Layer extends Container<ELayerEvent> {
}
}
append(parent: RenderItem): void {
super.append(parent);
appendTo(parent: RenderItem): void {
super.appendTo(parent);
if (parent instanceof LayerGroup) {
this.addToGroup(parent);
}