mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:58: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
|
@ -122,7 +122,7 @@ void Tray::mousemove_event(GUI::MouseEvent& event)
|
|||
|
||||
void Tray::mousedown_event(GUI::MouseEvent& event)
|
||||
{
|
||||
if (event.button() != GUI::MouseButton::Left)
|
||||
if (event.button() != GUI::MouseButton::Primary)
|
||||
return;
|
||||
|
||||
auto* pressed_item = item_at(event.position());
|
||||
|
@ -137,7 +137,7 @@ void Tray::mousedown_event(GUI::MouseEvent& event)
|
|||
|
||||
void Tray::mouseup_event(GUI::MouseEvent& event)
|
||||
{
|
||||
if (event.button() != GUI::MouseButton::Left)
|
||||
if (event.button() != GUI::MouseButton::Primary)
|
||||
return;
|
||||
|
||||
if (auto* pressed_item = item_at(event.position()); pressed_item && m_pressed_item_index == pressed_item->index) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue