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 (#4074)
This commit is contained in:
parent
ccf68cdcb6
commit
fcb9147b70
2
third_party/txt/src/txt/text_style.h
vendored
2
third_party/txt/src/txt/text_style.h
vendored
@ -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