From d6a072630268eeccee8ce1da0c13fd4a169caa8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filiph=20Sandstr=C3=B6m?= Date: Wed, 27 Oct 2021 13:20:27 +0200 Subject: Everywhere: Rename left/right-click to primary/secondary This resolves #10641. --- Userland/Applications/Spreadsheet/SpreadsheetView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Applications/Spreadsheet') diff --git a/Userland/Applications/Spreadsheet/SpreadsheetView.cpp b/Userland/Applications/Spreadsheet/SpreadsheetView.cpp index ef2c6ec1ab..30dfe96746 100644 --- a/Userland/Applications/Spreadsheet/SpreadsheetView.cpp +++ b/Userland/Applications/Spreadsheet/SpreadsheetView.cpp @@ -81,7 +81,7 @@ void InfinitelyScrollableTableView::mousemove_event(GUI::MouseEvent& event) sheet.disable_updates(); ScopeGuard sheet_update_enabler { [&] { sheet.enable_updates(); } }; - auto holding_left_button = !!(event.buttons() & GUI::MouseButton::Left); + auto holding_left_button = !!(event.buttons() & GUI::MouseButton::Primary); if (m_is_dragging_for_copy) { set_override_cursor(Gfx::StandardCursor::Crosshair); m_should_intercept_drag = false; -- cgit v1.2.3