mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:27:45 +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
|
@ -88,7 +88,7 @@ void FlameGraphView::mousemove_event(GUI::MouseEvent& event)
|
|||
|
||||
void FlameGraphView::mousedown_event(GUI::MouseEvent& event)
|
||||
{
|
||||
if (event.button() != GUI::MouseButton::Left)
|
||||
if (event.button() != GUI::MouseButton::Primary)
|
||||
return;
|
||||
|
||||
if (!m_hovered_bar)
|
||||
|
|
|
@ -66,7 +66,7 @@ void TimelineHeader::update_selection()
|
|||
|
||||
void TimelineHeader::mousedown_event(GUI::MouseEvent& event)
|
||||
{
|
||||
if (event.button() != GUI::MouseButton::Left)
|
||||
if (event.button() != GUI::MouseButton::Primary)
|
||||
return;
|
||||
m_selected = !m_selected;
|
||||
on_selection_change(m_selected);
|
||||
|
|
|
@ -31,7 +31,7 @@ u64 TimelineView::timestamp_at_x(int x) const
|
|||
|
||||
void TimelineView::mousedown_event(GUI::MouseEvent& event)
|
||||
{
|
||||
if (event.button() != GUI::MouseButton::Left)
|
||||
if (event.button() != GUI::MouseButton::Primary)
|
||||
return;
|
||||
|
||||
set_selecting(true);
|
||||
|
@ -55,7 +55,7 @@ void TimelineView::mousemove_event(GUI::MouseEvent& event)
|
|||
|
||||
void TimelineView::mouseup_event(GUI::MouseEvent& event)
|
||||
{
|
||||
if (event.button() != GUI::MouseButton::Left)
|
||||
if (event.button() != GUI::MouseButton::Primary)
|
||||
return;
|
||||
|
||||
set_selecting(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue