mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:48: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
|
@ -416,7 +416,7 @@ void TabWidget::mousedown_event(MouseEvent& event)
|
|||
if (!button_rect.contains(event.position()))
|
||||
continue;
|
||||
|
||||
if (event.button() == MouseButton::Left) {
|
||||
if (event.button() == MouseButton::Primary) {
|
||||
if (m_close_button_enabled && close_button_rect.contains(event.position())) {
|
||||
m_pressed_close_button_index = i;
|
||||
update_bar();
|
||||
|
@ -437,7 +437,7 @@ void TabWidget::mousedown_event(MouseEvent& event)
|
|||
|
||||
void TabWidget::mouseup_event(MouseEvent& event)
|
||||
{
|
||||
if (event.button() != MouseButton::Left)
|
||||
if (event.button() != MouseButton::Primary)
|
||||
return;
|
||||
|
||||
if (m_dragging_active_tab) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue