Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-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);
}