summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Libraries/LibGUI/GScrollBar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibGUI/GScrollBar.cpp b/Libraries/LibGUI/GScrollBar.cpp
index e8d5e811f9..432383f7c3 100644
--- a/Libraries/LibGUI/GScrollBar.cpp
+++ b/Libraries/LibGUI/GScrollBar.cpp
@@ -285,7 +285,7 @@ void GScrollBar::mousewheel_event(GMouseEvent& event)
{
if (!is_scrollable())
return;
- set_value(value() + event.wheel_delta());
+ set_value(value() + event.wheel_delta() * m_step);
GWidget::mousewheel_event(event);
}