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() {
|
||||
_redrawStatus = kRedrawFull;
|
||||
redraw();
|
||||
_system->updateScreen();
|
||||
}
|
||||
|
||||
void GuiManager::giveFocusToDialog(Dialog *dialog) {
|
||||
|
|
|
@ -102,7 +102,6 @@ void ScrollContainerWidget::handleCommand(CommandSender *sender, uint32 cmd, uin
|
|||
case kSetPositionCmd:
|
||||
_scrolledY = _verticalScroll->_currentPos;
|
||||
reflowLayout();
|
||||
markAsDirty();
|
||||
g_gui.doFullRedraw();
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue