mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:28:12 +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
|
@ -220,7 +220,7 @@ void Scrollbar::on_automatic_scrolling_timer_fired()
|
|||
|
||||
void Scrollbar::mousedown_event(MouseEvent& event)
|
||||
{
|
||||
if (event.button() != MouseButton::Left)
|
||||
if (event.button() != MouseButton::Primary)
|
||||
return;
|
||||
if (!has_scrubber())
|
||||
return;
|
||||
|
@ -259,7 +259,7 @@ void Scrollbar::mousedown_event(MouseEvent& event)
|
|||
|
||||
void Scrollbar::mouseup_event(MouseEvent& event)
|
||||
{
|
||||
if (event.button() != MouseButton::Left)
|
||||
if (event.button() != MouseButton::Primary)
|
||||
return;
|
||||
set_automatic_scrolling_active(false, Component::None);
|
||||
update();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue