mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Change the libtxt default text color to white in order to match RenderStyle::initialColor (flutter/engine#4074)
This commit is contained in:
parent
fadcb3517c
commit
4904055e6f
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user