From d6a072630268eeccee8ce1da0c13fd4a169caa8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filiph=20Sandstr=C3=B6m?= Date: Wed, 27 Oct 2021 13:20:27 +0200 Subject: Everywhere: Rename left/right-click to primary/secondary This resolves #10641. --- Userland/Applications/HexEditor/HexEditor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Userland/Applications/HexEditor/HexEditor.cpp') diff --git a/Userland/Applications/HexEditor/HexEditor.cpp b/Userland/Applications/HexEditor/HexEditor.cpp index aad684a2b1..c4b7d1767f 100644 --- a/Userland/Applications/HexEditor/HexEditor.cpp +++ b/Userland/Applications/HexEditor/HexEditor.cpp @@ -195,7 +195,7 @@ void HexEditor::set_content_length(int length) void HexEditor::mousedown_event(GUI::MouseEvent& event) { - if (event.button() != GUI::MouseButton::Left) { + if (event.button() != GUI::MouseButton::Primary) { return; } @@ -308,7 +308,7 @@ void HexEditor::mousemove_event(GUI::MouseEvent& event) void HexEditor::mouseup_event(GUI::MouseEvent& event) { - if (event.button() == GUI::MouseButton::Left) { + if (event.button() == GUI::MouseButton::Primary) { if (m_in_drag_select) { if (m_selection_end < m_selection_start) { // lets flip these around -- cgit v1.2.3