force update for spine color setting. (#10417)

This commit is contained in:
kenshin
2022-03-22 18:12:52 +08:00
committed by GitHub
parent b455e7fc86
commit 2b016c7eeb
@@ -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();
}
};