Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #4 from pixijs/bugifx/rendergroup-tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
Zyie authored May 17, 2024
2 parents 877e14c + 80cfdd4 commit 8438923
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@
},
"devDependencies": {
"@pixi/extension-scripts": "^2.4.1",
"pixi.js": "^8.0.1",
"pixi.js": "^8.1.3",
"typescript": "^5.4.2"
},
"peerDependencies": {
"pixi.js": "^8.0.0"
"pixi.js": "^8.1.2"
},
"engines": {
"node": ">=16",
Expand Down
6 changes: 4 additions & 2 deletions src/Spine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,11 @@ export class Spine extends Container implements View
if (this.didViewUpdate) return;
this.didViewUpdate = true;

if (this.renderGroup)
const renderGroup = this.renderGroup || this.parentRenderGroup;

if (renderGroup)
{
this.renderGroup.onChildViewUpdate(this);
renderGroup.onChildViewUpdate(this);
}

this.debug?.renderDebug(this);
Expand Down

0 comments on commit 8438923

Please sign in to comment.