summaryrefslogtreecommitdiff
path: root/Userland/Applications/HexEditor/HexEditor.cpp
diff options
context:
space:
mode:
authorFiliph Sandström <filiph.sandstrom@filfatstudios.com>2021-10-27 13:20:27 +0200
committerIdan Horowitz <idan.horowitz@gmail.com>2021-10-27 22:05:58 +0300
commitd6a072630268eeccee8ce1da0c13fd4a169caa8c (patch)
tree169e8d0ec79b6c6918a0425986d9c09d9a0b30c7 /Userland/Applications/HexEditor/HexEditor.cpp
parenta6ccf6659a706eb985cf5e62cd8e8db05ab18ab9 (diff)
downloadserenity-d6a072630268eeccee8ce1da0c13fd4a169caa8c.zip
Everywhere: Rename left/right-click to primary/secondary
This resolves #10641.
Diffstat (limited to 'Userland/Applications/HexEditor/HexEditor.cpp')
-rw-r--r--Userland/Applications/HexEditor/HexEditor.cpp4
1 files changed, 2 insertions, 2 deletions
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