|
@@ -605,7 +605,7 @@ class TextComp extends DrawableComp implements domkit.Component.ComponentDecl<h2
|
|
|
@:p(none) var maxWidth : Null<Int>;
|
|
|
@:p var textAlign : h2d.Text.Align = Left;
|
|
|
@:p(textShadow) var textShadow : { dx : Float, dy : Float, color : Int, alpha : Float };
|
|
|
- @:p(color) var #if domkit_drawable_color textColor #else color #end : Int;
|
|
|
+ @:p(color) var #if domkit_drawable_color textColor #else color #end : Null<Int>;
|
|
|
|
|
|
static function create( parent : h2d.Object ) {
|
|
|
return new h2d.Text(hxd.res.DefaultFont.get(),parent);
|