You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In case a TextStyle object - in favor of a TextStyleOptions type - is used to create multiple Text objects, these may loose their style.fill property, which e.g. makes tinting impossible.
Expected Behavior
Text should well-behave concerning it's way of construction.
I suspect this has to do with caching and reference counting of ressources.
Additional Information
No response
The text was updated successfully, but these errors were encountered:
joergplewe
changed the title
Bug: text.style.fill === null when TextStyle is reused instead of TextStyleOptions
Bug: [V8] text.style.fill === null when TextStyle is reused instead of TextStyleOptionsMar 14, 2024
joergplewe
changed the title
Bug: [V8] text.style.fill === null when TextStyle is reused instead of TextStyleOptions
Bug: [v8] text.style.fill === null when TextStyle is reused instead of TextStyleOptionsMar 14, 2024
Current Behavior
In case a
TextStyle
object - in favor of aTextStyleOptions
type - is used to create multipleText
objects, these may loose theirstyle.fill
property, which e.g. makes tinting impossible.Expected Behavior
Text
should well-behave concerning it's way of construction.Steps to Reproduce
https://www.pixiplayground.com/#/edit/-V-yqUNla6o8sOKEEKRCk
See that tinting gets lost after 2 seconds and recreation of scenegraph content.
Environment
pixi.js
version: 8.0.2Possible Solution
I suspect this has to do with caching and reference counting of ressources.
Additional Information
No response
The text was updated successfully, but these errors were encountered: