summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/OpacitySlider.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibGUI/OpacitySlider.cpp')
-rw-r--r--Userland/Libraries/LibGUI/OpacitySlider.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/OpacitySlider.cpp b/Userland/Libraries/LibGUI/OpacitySlider.cpp
index f97d7a0ef4..d8cc98e457 100644
--- a/Userland/Libraries/LibGUI/OpacitySlider.cpp
+++ b/Userland/Libraries/LibGUI/OpacitySlider.cpp
@@ -139,7 +139,7 @@ void OpacitySlider::mouseup_event(MouseEvent& event)
void OpacitySlider::mousewheel_event(MouseEvent& event)
{
- set_value(value() - event.wheel_delta());
+ decrease_slider_by(event.wheel_delta());
}
}