From 2f84d468ee8fd136a9372daf1eb7f151dbb0337e Mon Sep 17 00:00:00 2001 From: Mike Welsh Date: Fri, 18 Sep 2020 18:35:01 -0700 Subject: [PATCH] text: Default text span color should be black Previosuly color defaulted to 0% alpha, causing text to be invisible if the text field did not specify a defualt color. --- core/src/html/text_format.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/html/text_format.rs b/core/src/html/text_format.rs index b250532f0..ede9b8db2 100644 --- a/core/src/html/text_format.rs +++ b/core/src/html/text_format.rs @@ -710,7 +710,7 @@ impl Default for TextSpan { r: 0, g: 0, b: 0, - a: 0, + a: 255, }, align: swf::TextAlign::Left, bold: false,