mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:08:11 +00:00
Everywhere: Rename left/right-click to primary/secondary
This resolves #10641.
This commit is contained in:
parent
a6ccf6659a
commit
d6a0726302
79 changed files with 183 additions and 183 deletions
|
@ -422,7 +422,7 @@ void Widget::handle_mousedown_event(MouseEvent& event)
|
|||
if (has_flag(focus_policy(), FocusPolicy::ClickFocus))
|
||||
set_focus(true, FocusSource::Mouse);
|
||||
mousedown_event(event);
|
||||
if (event.button() == MouseButton::Right) {
|
||||
if (event.button() == MouseButton::Secondary) {
|
||||
ContextMenuEvent c_event(event.position(), screen_relative_rect().location().translated(event.position()));
|
||||
dispatch_event(c_event);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue