diff options
Diffstat (limited to 'Userland/Libraries/LibGUI/OpacitySlider.cpp')
-rw-r--r-- | Userland/Libraries/LibGUI/OpacitySlider.cpp | 2 |
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()); } } |