summaryrefslogtreecommitdiff
path: root/Userland/Demos/CatDog/CatDog.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/Demos/CatDog/CatDog.cpp
parenta6ccf6659a706eb985cf5e62cd8e8db05ab18ab9 (diff)
downloadserenity-d6a072630268eeccee8ce1da0c13fd4a169caa8c.zip
Everywhere: Rename left/right-click to primary/secondary
This resolves #10641.
Diffstat (limited to 'Userland/Demos/CatDog/CatDog.cpp')
-rw-r--r--Userland/Demos/CatDog/CatDog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Demos/CatDog/CatDog.cpp b/Userland/Demos/CatDog/CatDog.cpp
index 9ee9a0fadf..d17bcf9424 100644
--- a/Userland/Demos/CatDog/CatDog.cpp
+++ b/Userland/Demos/CatDog/CatDog.cpp
@@ -122,7 +122,7 @@ void CatDog::track_mouse_move(Gfx::IntPoint const& point)
void CatDog::mousedown_event(GUI::MouseEvent& event)
{
- if (event.button() != GUI::MouseButton::Left)
+ if (event.button() != GUI::MouseButton::Primary)
return;
if (on_click)
on_click();