GScrollBar: Scrolling with the mouse wheel should use step increments

This commit is contained in:
Andreas Kling 2019-09-06 15:00:34 +02:00
parent 1adec6d54b
commit b4a2bb9383
Notes: sideshowbarker 2024-07-19 12:15:23 +09:00

View file

@ -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);
}