[Impeller] initialize text alpha to 1.0 (flutter/engine#40667)

[Impeller] initialize text alpha to 1.0
This commit is contained in:
Jonah Williams
2023-03-27 12:46:32 -07:00
committed by GitHub
parent 34a936b07e
commit fffe7e4cb9

View File

@@ -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<LazyGlyphAtlas> lazy_atlas_;
Matrix inverse_matrix_;