mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
force update for spine color setting. (#10417)
This commit is contained in:
@@ -360,6 +360,7 @@ const cacheManager = require('./jsb-cache-manager');
|
||||
if (this._nativeSkeleton) {
|
||||
const compColor = this.color;
|
||||
this._nativeSkeleton.setColor(compColor.r, compColor.g, compColor.b, compColor.a);
|
||||
this.markForUpdateRenderData();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user