From fc37918130d8539ee57be014108729e8aca6e3f8 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Sat, 6 Jan 2018 15:54:02 +0100 Subject: GUI: Remove explicit redraw when scrolling the ScrollContainer The redraw is already handled by the GUI main loop --- gui/widgets/scrollcontainer.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'gui/widgets') diff --git a/gui/widgets/scrollcontainer.cpp b/gui/widgets/scrollcontainer.cpp index 0f3c96dcb6..00eadff78d 100644 --- a/gui/widgets/scrollcontainer.cpp +++ b/gui/widgets/scrollcontainer.cpp @@ -102,7 +102,6 @@ void ScrollContainerWidget::handleCommand(CommandSender *sender, uint32 cmd, uin case kSetPositionCmd: _scrolledY = _verticalScroll->_currentPos; reflowLayout(); - markAsDirty(); g_gui.doFullRedraw(); break; } -- cgit v1.2.3