mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06: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
|
@ -29,7 +29,7 @@ RectangleSelectTool::~RectangleSelectTool()
|
|||
void RectangleSelectTool::on_mousedown(Layer*, MouseEvent& event)
|
||||
{
|
||||
auto& image_event = event.image_event();
|
||||
if (image_event.button() != GUI::MouseButton::Left)
|
||||
if (image_event.button() != GUI::MouseButton::Primary)
|
||||
return;
|
||||
|
||||
m_selecting = true;
|
||||
|
@ -61,7 +61,7 @@ void RectangleSelectTool::on_mousemove(Layer*, MouseEvent& event)
|
|||
void RectangleSelectTool::on_mouseup(Layer*, MouseEvent& event)
|
||||
{
|
||||
auto& image_event = event.image_event();
|
||||
if (!m_selecting || image_event.button() != GUI::MouseButton::Left)
|
||||
if (!m_selecting || image_event.button() != GUI::MouseButton::Primary)
|
||||
return;
|
||||
|
||||
m_selecting = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue