mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 03:37:53 +00:00
LibGUI: Include keyboard modifier state with button on_click calls
This will allow you us to implement special behavior when Ctrl+clicking a button.
This commit is contained in:
@@ -97,7 +97,7 @@ void CheckBox::paint_event(PaintEvent& event)
|
||||
paint_text(painter, text_rect, font(), Gfx::TextAlignment::TopLeft);
|
||||
}
|
||||
|
||||
void CheckBox::click()
|
||||
void CheckBox::click(unsigned)
|
||||
{
|
||||
if (!is_enabled())
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user