diff --git a/src/obj/EntryContainer.ts b/src/obj/EntryContainer.ts index 5d9c181..d23e626 100644 --- a/src/obj/EntryContainer.ts +++ b/src/obj/EntryContainer.ts @@ -194,7 +194,7 @@ export abstract class EntryContainer extends EventEmitter { this.dataUpdate(sprite) - ;(this.parent || this).children.push(sprite) + ;(sprite.parent = this.parent || this).children.push(sprite) this.addSibling(project, sprite.pixiSprite, 0)