Change the libtxt default text color to white in order to match RenderStyle::initialColor (flutter/engine#4074)

This commit is contained in:
Jason Simmons 2017-09-07 14:17:29 -07:00 committed by GitHub
parent fadcb3517c
commit 4904055e6f

View File

@ -29,7 +29,7 @@ namespace txt {
class TextStyle {
public:
SkColor color = SK_ColorBLACK;
SkColor color = SK_ColorWHITE;
TextDecoration decoration = TextDecoration::kNone;
// Does not make sense to draw a transparent object, so we use it as a default
// value to indicate no decoration color was set.