Redraw text editor immediately after changing anti-alias option

This commit is contained in:
David Capello 2024-08-26 17:20:05 -03:00
parent 7558504733
commit 08de330123

View File

@ -400,6 +400,10 @@ void WritingTextState::onFontChange()
m_entry->setFont(font);
m_entry->invalidate();
m_editor->invalidate();
// This is useful to show changes to the anti-alias option
// immediately.
auto dummy = m_entry->extraCel();
}
}