GUI: Remove explicit redraw when scrolling the ScrollContainer
The redraw is already handled by the GUI main loop
This commit is contained in:
parent
0496ede62f
commit
fc37918130
2 changed files with 0 additions and 3 deletions
|
@ -592,8 +592,6 @@ void GuiManager::processEvent(const Common::Event &event, Dialog *const activeDi
|
||||||
|
|
||||||
void GuiManager::doFullRedraw() {
|
void GuiManager::doFullRedraw() {
|
||||||
_redrawStatus = kRedrawFull;
|
_redrawStatus = kRedrawFull;
|
||||||
redraw();
|
|
||||||
_system->updateScreen();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void GuiManager::giveFocusToDialog(Dialog *dialog) {
|
void GuiManager::giveFocusToDialog(Dialog *dialog) {
|
||||||
|
|
|
@ -102,7 +102,6 @@ void ScrollContainerWidget::handleCommand(CommandSender *sender, uint32 cmd, uin
|
||||||
case kSetPositionCmd:
|
case kSetPositionCmd:
|
||||||
_scrolledY = _verticalScroll->_currentPos;
|
_scrolledY = _verticalScroll->_currentPos;
|
||||||
reflowLayout();
|
reflowLayout();
|
||||||
markAsDirty();
|
|
||||||
g_gui.doFullRedraw();
|
g_gui.doFullRedraw();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue