From 4765762dd41904e3b15134e9bf42ded7e69b6b8e Mon Sep 17 00:00:00 2001 From: "luz.paz" Date: Thu, 17 Jan 2019 07:18:49 -0500 Subject: [PATCH] Crowdin: Gui/CADNavigationStyle.cpp refinements --- src/Gui/CADNavigationStyle.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Gui/CADNavigationStyle.cpp b/src/Gui/CADNavigationStyle.cpp index e3fcc859e6..1beda14573 100644 --- a/src/Gui/CADNavigationStyle.cpp +++ b/src/Gui/CADNavigationStyle.cpp @@ -69,9 +69,9 @@ const char* CADNavigationStyle::mouseButtons(ViewerMode mode) case NavigationStyle::PANNING: return QT_TR_NOOP("Press middle mouse button"); case NavigationStyle::DRAGGING: - return QT_TR_NOOP("Press middle and left or right mouse button"); + return QT_TR_NOOP("Press middle+left or middle+right button"); case NavigationStyle::ZOOMING: - return QT_TR_NOOP("Scroll middle mouse button or keep middle button pressed\n" + return QT_TR_NOOP("Scroll middle mouse button or keep middle button depressed\n" "while doing a left or right click and move the mouse up or down"); default: return "No description"; @@ -259,8 +259,8 @@ SbBool CADNavigationStyle::processSoEvent(const SoEvent * const ev) this->lockrecenter = true; if (!viewer->isEditing()) { // If we are in zoom or pan mode ignore RMB events otherwise - // the canvas doesn't get any release events - if (this->currentmode != NavigationStyle::ZOOMING && + // the canvas doesn't get any release events + if (this->currentmode != NavigationStyle::ZOOMING && this->currentmode != NavigationStyle::PANNING && this->currentmode != NavigationStyle::DRAGGING) { if (this->isPopupMenuEnabled()) {