From 4904055e6f4a6fbbe2280acdd6bfdaf5db5da5a2 Mon Sep 17 00:00:00 2001 From: Jason Simmons Date: Thu, 7 Sep 2017 14:17:29 -0700 Subject: [PATCH] Change the libtxt default text color to white in order to match RenderStyle::initialColor (flutter/engine#4074) --- engine/src/flutter/third_party/txt/src/txt/text_style.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/third_party/txt/src/txt/text_style.h b/engine/src/flutter/third_party/txt/src/txt/text_style.h index 9e2dc06e219..98429080cf2 100644 --- a/engine/src/flutter/third_party/txt/src/txt/text_style.h +++ b/engine/src/flutter/third_party/txt/src/txt/text_style.h @@ -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.