diff options
author | Filiph Sandström <filiph.sandstrom@filfatstudios.com> | 2021-10-27 13:20:27 +0200 |
---|---|---|
committer | Idan Horowitz <idan.horowitz@gmail.com> | 2021-10-27 22:05:58 +0300 |
commit | d6a072630268eeccee8ce1da0c13fd4a169caa8c (patch) | |
tree | 169e8d0ec79b6c6918a0425986d9c09d9a0b30c7 /Userland/Applications/3DFileViewer/main.cpp | |
parent | a6ccf6659a706eb985cf5e62cd8e8db05ab18ab9 (diff) | |
download | serenity-d6a072630268eeccee8ce1da0c13fd4a169caa8c.zip |
Everywhere: Rename left/right-click to primary/secondary
This resolves #10641.
Diffstat (limited to 'Userland/Applications/3DFileViewer/main.cpp')
-rw-r--r-- | Userland/Applications/3DFileViewer/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/3DFileViewer/main.cpp b/Userland/Applications/3DFileViewer/main.cpp index 8cef1f408a..2731d16ee3 100644 --- a/Userland/Applications/3DFileViewer/main.cpp +++ b/Userland/Applications/3DFileViewer/main.cpp @@ -132,7 +132,7 @@ void GLContextWidget::resize_event(GUI::ResizeEvent& event) void GLContextWidget::mousemove_event(GUI::MouseEvent& event) { - if (event.buttons() == GUI::MouseButton::Left) { + if (event.buttons() == GUI::MouseButton::Primary) { int delta_x = m_last_mouse.x() - event.x(); int delta_y = m_last_mouse.y() - event.y(); |