pixijs / pixi-text-style

PIXI.TextStyle Generator
https://pixijs.io/pixi-text-style
32 stars 7 forks source link

Add support for gradient stop points #4

Closed themoonrat closed 6 years ago

themoonrat commented 7 years ago

As this requires dealing with arrays and not plain objects, some deep cloning and deep comparison of objects are required for equality; added as util files

There is a bug in pixi style where Text Style settings object is being cloned via Object.assign ... which doesn't deep clone the array. Therefore there is a temp fix to force making the this.style array unique via changing it's value directly

bigtimebuddy commented 6 years ago

@themoonrat now that this is fixed in v4.6.1, could you update this PR?

themoonrat commented 6 years ago

Done :)