GUI: Remove explicit redraw when scrolling the ScrollContainer

The redraw is already handled by the GUI main loop
This commit is contained in:
Bastien Bouclet 2018-01-06 15:54:02 +01:00
parent 0496ede62f
commit fc37918130
2 changed files with 0 additions and 3 deletions

View file

@ -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) {

View file

@ -102,7 +102,6 @@ void ScrollContainerWidget::handleCommand(CommandSender *sender, uint32 cmd, uin
case kSetPositionCmd:
_scrolledY = _verticalScroll->_currentPos;
reflowLayout();
markAsDirty();
g_gui.doFullRedraw();
break;
}