mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:24:57 +00:00
GScrollBar: Scrolling with the mouse wheel should use step increments
This commit is contained in:
parent
1adec6d54b
commit
b4a2bb9383
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue