mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:37:34 +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
|
@ -270,7 +270,7 @@ int KeysWidget::note_for_event_position(const Gfx::IntPoint& a_point) const
|
|||
|
||||
void KeysWidget::mousedown_event(GUI::MouseEvent& event)
|
||||
{
|
||||
if (event.button() != GUI::MouseButton::Left)
|
||||
if (event.button() != GUI::MouseButton::Primary)
|
||||
return;
|
||||
|
||||
m_mouse_down = true;
|
||||
|
@ -283,7 +283,7 @@ void KeysWidget::mousedown_event(GUI::MouseEvent& event)
|
|||
|
||||
void KeysWidget::mouseup_event(GUI::MouseEvent& event)
|
||||
{
|
||||
if (event.button() != GUI::MouseButton::Left)
|
||||
if (event.button() != GUI::MouseButton::Primary)
|
||||
return;
|
||||
|
||||
m_mouse_down = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue