mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 11:20:03 +00:00
GScrollBar: Scrolling with the mouse wheel should use step increments
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user