Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2015-01-06 22:32:11 +0000
committerStijn Buys <ingar@osirion.org>2015-01-06 22:32:11 +0000
commit62eec5977f15fc50f3c2c428f30c40879af09943 (patch)
treeb9082d78a76a5f47a4d22e64cae5048b8a51ea8c /src
parentbae25b0b688e95f821d4c305a3a6e8e4a64e8c6e (diff)
Corrected an issue in the scrollbar mousewheel handling.
Diffstat (limited to 'src')
-rw-r--r--src/ui/scrollbar.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/scrollbar.cc b/src/ui/scrollbar.cc
index a766b38..38410f4 100644
--- a/src/ui/scrollbar.cc
+++ b/src/ui/scrollbar.cc
@@ -112,7 +112,7 @@ bool ScrollBar::on_mousewheel(const math::Vector2f & direction)
{
if (direction.y() > 0 )
{
- if (scrollbar_value < scrollbar_maximum) {
+ if (scrollbar_value > scrollbar_minimum) {
scrollbar_value--;
emit(EventScrollBarChanged, this);
}