mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 16:22:45 +03:00
feat(ui): unset style update flag in CSimpleHTML::AddText
This commit is contained in:
parent
0e727cd0e2
commit
5b4da3b123
@ -83,6 +83,7 @@ void CSimpleHTML::AddText(const char* text, HTML_TEXT_TYPE type, uint32_t justif
|
|||||||
|
|
||||||
string->SetJustifyH(justify);
|
string->SetJustifyH(justify);
|
||||||
// TODO something with style flag 0x1000?
|
// TODO something with style flag 0x1000?
|
||||||
|
string->m_fontableFlags &= ~FLAG_STYLE_UPDATE;
|
||||||
|
|
||||||
string->SetText(text, 1);
|
string->SetText(text, 1);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user