Everywhere: Rename left/right-click to primary/secondary

This resolves #10641.
This commit is contained in:
Filiph Sandström 2021-10-27 13:20:27 +02:00 committed by Idan Horowitz
commit d6a0726302
Notes: sideshowbarker 2024-07-18 01:50:44 +09:00
79 changed files with 183 additions and 183 deletions

View file

@ -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();