aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Tkachev2016-06-21 14:51:50 +0600
committerEugene Sandulenko2016-07-03 12:14:23 +0200
commit34af71a8ef81db5fb4ee6d502df77a8c15540266 (patch)
tree76779e035de5da994073dcc1af4819eb3b1aa424
parent9bf2d65dd24f217a7462da823ff30c43a7110e29 (diff)
downloadscummvm-rg350-34af71a8ef81db5fb4ee6d502df77a8c15540266.tar.gz
scummvm-rg350-34af71a8ef81db5fb4ee6d502df77a8c15540266.tar.bz2
scummvm-rg350-34af71a8ef81db5fb4ee6d502df77a8c15540266.zip
GUI: Remove _clippingArea from ScrollContainer
-rw-r--r--gui/widgets/scrollcontainer.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/gui/widgets/scrollcontainer.cpp b/gui/widgets/scrollcontainer.cpp
index 7fde9a6198..8b9341f575 100644
--- a/gui/widgets/scrollcontainer.cpp
+++ b/gui/widgets/scrollcontainer.cpp
@@ -46,7 +46,6 @@ void ScrollContainerWidget::init() {
_scrolledX = 0;
_scrolledY = 0;
_limitH = 140;
- _clippingArea = Common::Rect(0, 0, _w, _h);
recalc();
}
@@ -89,7 +88,6 @@ void ScrollContainerWidget::handleCommand(CommandSender *sender, uint32 cmd, uin
}
void ScrollContainerWidget::reflowLayout() {
- _clippingArea = Common::Rect(0, 0, _w, _h);
recalc();
Widget::reflowLayout();
}