From 4a354199a6ce097bdd8b123193990ed22fab29f2 Mon Sep 17 00:00:00 2001 From: Mat Groves Date: Thu, 16 May 2024 19:51:13 +0100 Subject: [PATCH] fix spine update bug for v8 8.1.2 --- src/Spine.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Spine.ts b/src/Spine.ts index f74c207..51fcd40 100644 --- a/src/Spine.ts +++ b/src/Spine.ts @@ -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);