Skip to content

Commit

Permalink
fix: my mistake!
Browse files Browse the repository at this point in the history
  • Loading branch information
gnlow committed Dec 31, 2023
1 parent 594f16a commit 6b01d64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/obj/EntryContainer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 6b01d64

Please sign in to comment.