diff --git a/src/tree/Element.mjs b/src/tree/Element.mjs index a4b1cccf..61c39a5b 100644 --- a/src/tree/Element.mjs +++ b/src/tree/Element.mjs @@ -1532,6 +1532,10 @@ export default class Element { this.colorBl = v; this.colorBr = v; } + if (Utils.isSpark && (this.texture && (this.texture instanceof TextTexture))) + { + this.texture.textColor = this.color; + } } get colorTop() { @@ -1707,6 +1711,10 @@ export default class Element { this.texture.w = this.w; this.texture.h = this.h; } + if (Utils.isSpark && this.color) + { + this.texture.textColor = this.color; + } } return this.texture; }