aboutsummaryrefslogtreecommitdiff
path: root/gui/widgets
diff options
context:
space:
mode:
authorAlexander Tkachev2016-06-22 14:29:02 +0600
committerEugene Sandulenko2016-07-03 12:16:26 +0200
commit8f2d35b0b89c4b8912df96ec3c403e00c85c5875 (patch)
tree52aebe7c6afdfbe28c57f231fd6c083e60329962 /gui/widgets
parent3d2730a0ddd1e1e33e6639775727beb954d7bfc0 (diff)
downloadscummvm-rg350-8f2d35b0b89c4b8912df96ec3c403e00c85c5875.tar.gz
scummvm-rg350-8f2d35b0b89c4b8912df96ec3c403e00c85c5875.tar.bz2
scummvm-rg350-8f2d35b0b89c4b8912df96ec3c403e00c85c5875.zip
GUI: drawRoundedSquareClip()
Diffstat (limited to 'gui/widgets')
-rw-r--r--gui/widgets/scrollcontainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/widgets/scrollcontainer.cpp b/gui/widgets/scrollcontainer.cpp
index 8b9341f575..5e112b476f 100644
--- a/gui/widgets/scrollcontainer.cpp
+++ b/gui/widgets/scrollcontainer.cpp
@@ -50,7 +50,7 @@ void ScrollContainerWidget::init() {
}
void ScrollContainerWidget::recalc() {
- _verticalScroll->_numEntries = _h;
+ _verticalScroll->_numEntries = _h + 40;
_verticalScroll->_currentPos = _scrolledY;
_verticalScroll->_entriesPerPage = _limitH;
_verticalScroll->setPos(_w - 16, _scrolledY);