Gamua / Starling-Framework

The Cross Platform Game Engine
http://www.starling-framework.org
Other
2.85k stars 819 forks source link

TextField#style property get/set is inconsistent #897

Closed Maligan closed 8 years ago

Maligan commented 8 years ago

Houston, we have a small problem:

var textField:TextField = new TextField(...)
textField.style = new DistanceFieldStyle();
DistanceFieldStyle(textField.style); // Type Coercion failed: cannot convert MeshStyle to DistanceFieldStyle.
PrimaryFeather commented 8 years ago

Thanks for the report! I can reproduce the error — expect a fix next week.

PrimaryFeather commented 8 years ago

That should do it. Along the way, I found another problem (19a20cb122970927b5e91b4a20d9f9cf4ddc0b25), thus the delay.

Please let me know if that works for you!