From 0e04c8487984de27e00ce39dc1a141f6bfc3577a Mon Sep 17 00:00:00 2001 From: enricoturri1966 Date: Thu, 22 Oct 2020 10:08:16 +0200 Subject: [PATCH] Follow-up of 68a7e5ce41217a123758996bc145350339922473 -> Updated keyboard shortcuts dialog --- src/slic3r/GUI/KBShortcutsDialog.cpp | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/slic3r/GUI/KBShortcutsDialog.cpp b/src/slic3r/GUI/KBShortcutsDialog.cpp index db217e3aeb..e2a6991d94 100644 --- a/src/slic3r/GUI/KBShortcutsDialog.cpp +++ b/src/slic3r/GUI/KBShortcutsDialog.cpp @@ -190,10 +190,15 @@ void KBShortcutsDialog::fill_shortcuts() m_full_shortcuts.push_back(std::make_pair(_L("Plater"), plater_shortcuts)); Shortcuts gizmos_shortcuts = { - { "Shift+", L("Press to snap by 5% in Gizmo scale\nor to snap by 1mm in Gizmo move") }, - { "F", L("Scale selection to fit print volume\nin Gizmo scale") }, - { ctrl, L("Press to activate one direction scaling in Gizmo scale") }, - { alt, L("Press to scale (in Gizmo scale) or rotate (in Gizmo rotate)\nselected objects around their own center") }, +#if ENABLE_PAN_ROTATE_SCENE_IN_GIZMOS + { ctrl, L("All gizmos: Press to rotate view with mouse left or to pan view with mouse right") }, +#endif // ENABLE_PAN_ROTATE_SCENE_IN_GIZMOS + { "Shift+", L("Gizmo move: Press to snap by 1mm") }, + { "Shift+", L("Gizmo scale: Press to snap by 5%") }, + { "F", L("Gizmo scale: Scale selection to fit print volume") }, + { ctrl, L("Gizmo scale: Press to activate one direction scaling") }, + { alt, L("Gizmo scale: Press to scale selected objects around their own center") }, + { alt, L("Gizmo rotate: Press to rotate selected objects around their own center") }, }; m_full_shortcuts.push_back(std::make_pair(_L("Gizmos"), gizmos_shortcuts));