| 585 | |
| 586 | |
| 587 | void TextBox::set_initial_text_style(const skia::textlayout::TextStyle& tStyle) { |
| 588 | if(!tStyle.equals(initialTStyle)) { |
| 589 | initialTStyle = tStyle; |
| 590 | needsRebuild = true; |
| 591 | } |
| 592 | } |
| 593 | |
| 594 | void TextBox::set_initial_text_style_modifier(const std::shared_ptr<TextStyleModifier>& modifier) { |
| 595 | if(tStyleMods.empty() || tStyleMods[0].pos != TextPosition{0, 0}) { |
no outgoing calls
no test coverage detected