GUI: Implement dirty-checking for widget redraws
This commit is contained in:
parent
3b50b57f54
commit
0496ede62f
34 changed files with 245 additions and 199 deletions
|
@ -995,7 +995,7 @@ void PredictiveDialog::pressEditText() {
|
|||
Common::strlcat(_predictiveResult, _currentWord.c_str(), sizeof(_predictiveResult));
|
||||
_editText->setEditString(_predictiveResult);
|
||||
//_editText->setCaretPos(_prefix.size() + _currentWord.size());
|
||||
_editText->draw();
|
||||
_editText->markAsDirty();
|
||||
}
|
||||
|
||||
} // namespace GUI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue