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

Commit

Permalink
fix spine update bug for v8 8.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
GoodBoyDigital committed May 16, 2024
1 parent 877e14c commit 4a35419
Showing 1 changed file with 4 additions and 2 deletions.
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;

Check failure on line 242 in src/Spine.ts

View workflow job for this annotation

GitHub Actions / build

Property 'parentRenderGroup' does not exist on type 'Spine'.

Check failure on line 242 in src/Spine.ts

View workflow job for this annotation

GitHub Actions / build

Property 'parentRenderGroup' does not exist on type 'Spine'.

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

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

0 comments on commit 4a35419

Please sign in to comment.