From 65fd5963c0be45b7308b756e624d8caf2b892308 Mon Sep 17 00:00:00 2001 From: jonahwilliams Date: Mon, 27 Mar 2023 10:16:56 -0700 Subject: [PATCH] [Impeller] initialize text alpha to 1.0 --- impeller/entity/contents/text_contents.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/impeller/entity/contents/text_contents.h b/impeller/entity/contents/text_contents.h index b36cc83604931..8349842cf8fd6 100644 --- a/impeller/entity/contents/text_contents.h +++ b/impeller/entity/contents/text_contents.h @@ -56,7 +56,7 @@ class TextContents final : public Contents { private: TextFrame frame_; Color color_; - Scalar inherited_opacity_; + Scalar inherited_opacity_ = 1.0; mutable std::shared_ptr lazy_atlas_; Matrix inverse_matrix_;