mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 07:07:23 +00:00
LibGUI: Accept() mouse wheel events in {Spin,Combo}Boxes
Prevents ScrollableContainerWidgets from moving when changing values in embedded widgets with the mouse wheel.
This commit is contained in:
committed by
Andreas Kling
parent
5c9a140084
commit
9cf93528f5
@@ -39,6 +39,7 @@ private:
|
||||
set_focus(true);
|
||||
if (on_mousewheel)
|
||||
on_mousewheel(event.wheel_delta_y());
|
||||
event.accept();
|
||||
}
|
||||
|
||||
virtual void keydown_event(KeyEvent& event) override
|
||||
|
||||
Reference in New Issue
Block a user