mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 18:45:07 +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
|
@ -142,7 +142,7 @@ void HeaderView::doubleclick_event(MouseEvent& event)
|
|||
|
||||
void HeaderView::mousedown_event(MouseEvent& event)
|
||||
{
|
||||
if (event.button() != GUI::MouseButton::Left)
|
||||
if (event.button() != GUI::MouseButton::Primary)
|
||||
return;
|
||||
|
||||
if (!model())
|
||||
|
@ -227,7 +227,7 @@ void HeaderView::mousemove_event(MouseEvent& event)
|
|||
|
||||
void HeaderView::mouseup_event(MouseEvent& event)
|
||||
{
|
||||
if (event.button() == MouseButton::Left) {
|
||||
if (event.button() == MouseButton::Primary) {
|
||||
if (m_in_section_resize) {
|
||||
if (!section_resize_grabbable_rect(m_resizing_section).contains(event.position()))
|
||||
set_override_cursor(Gfx::StandardCursor::None);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue