summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/ValueSlider.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/Libraries/LibGUI/ValueSlider.cpp
parenta6ccf6659a706eb985cf5e62cd8e8db05ab18ab9 (diff)
downloadserenity-d6a072630268eeccee8ce1da0c13fd4a169caa8c.zip
Everywhere: Rename left/right-click to primary/secondary
This resolves #10641.
Diffstat (limited to 'Userland/Libraries/LibGUI/ValueSlider.cpp')
-rw-r--r--Userland/Libraries/LibGUI/ValueSlider.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibGUI/ValueSlider.cpp b/Userland/Libraries/LibGUI/ValueSlider.cpp
index 4033a4e31e..64f3cf2f35 100644
--- a/Userland/Libraries/LibGUI/ValueSlider.cpp
+++ b/Userland/Libraries/LibGUI/ValueSlider.cpp
@@ -180,7 +180,7 @@ void ValueSlider::mousemove_event(MouseEvent& event)
void ValueSlider::mousedown_event(MouseEvent& event)
{
- if (event.button() != MouseButton::Left)
+ if (event.button() != MouseButton::Primary)
return;
m_textbox->set_focus(true);
@@ -193,7 +193,7 @@ void ValueSlider::mousedown_event(MouseEvent& event)
void ValueSlider::mouseup_event(MouseEvent& event)
{
- if (event.button() != MouseButton::Left)
+ if (event.button() != MouseButton::Primary)
return;
m_dragging = false;