Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorenricoturri1966 <enricoturri@seznam.cz>2021-02-17 19:21:06 +0300
committerenricoturri1966 <enricoturri@seznam.cz>2021-02-17 19:21:06 +0300
commit7c3e3272aa52e93f4ab22c5a179294811bed8b2b (patch)
tree65237f98bc5afb483aeec4852099c4eb45bd5801 /src/slic3r/GUI/KBShortcutsDialog.cpp
parent77be228b75fa67213f3f7b18ba5bca2140d0a61c (diff)
Tech ENABLE_ARROW_KEYS_WITH_SLIDERS set as default
Diffstat (limited to 'src/slic3r/GUI/KBShortcutsDialog.cpp')
-rw-r--r--src/slic3r/GUI/KBShortcutsDialog.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/slic3r/GUI/KBShortcutsDialog.cpp b/src/slic3r/GUI/KBShortcutsDialog.cpp
index 11bf7f687..04e6769e4 100644
--- a/src/slic3r/GUI/KBShortcutsDialog.cpp
+++ b/src/slic3r/GUI/KBShortcutsDialog.cpp
@@ -192,7 +192,6 @@ void KBShortcutsDialog::fill_shortcuts()
}
Shortcuts preview_shortcuts = {
-#if ENABLE_ARROW_KEYS_WITH_SLIDERS
{ L("Arrow Up"), L("Vertical slider - Move active thumb Up") },
{ L("Arrow Down"), L("Vertical slider - Move active thumb Down") },
{ L("Arrow Left"), L("Horizontal slider - Move active thumb Left") },
@@ -203,33 +202,17 @@ void KBShortcutsDialog::fill_shortcuts()
{ "D", L("Horizontal slider - Move active thumb Right") },
{ "X", L("On/Off one layer mode of the vertical slider") },
{ "L", L("Show/Hide Legend and Estimated printing time") },
-#else
- { L("Arrow Up"), L("Upper layer") },
- { L("Arrow Down"), L("Lower layer") },
- { "U", L("Upper Layer") },
- { "D", L("Lower Layer") },
- { "L", L("Show/Hide Legend & Estimated printing time") },
-#endif // ENABLE_ARROW_KEYS_WITH_SLIDERS
};
m_full_shortcuts.push_back({ { _L("Preview"), "" }, preview_shortcuts });
Shortcuts layers_slider_shortcuts = {
-#if ENABLE_ARROW_KEYS_WITH_SLIDERS
{ L("Arrow Up"), L("Move active thumb Up") },
{ L("Arrow Down"), L("Move active thumb Down") },
{ L("Arrow Left"), L("Set upper thumb as active") },
{ L("Arrow Right"), L("Set lower thumb as active") },
{ "+", L("Add color change marker for current layer") },
{ "-", L("Delete color change marker for current layer") },
-#else
- { L("Arrow Up"), L("Move current slider thumb Up") },
- { L("Arrow Down"), L("Move current slider thumb Down") },
- { L("Arrow Left"), L("Set upper thumb to current slider thumb") },
- { L("Arrow Right"), L("Set lower thumb to current slider thumb") },
- { "+", L("Add color change marker for current layer") },
- { "-", L("Delete color change marker for current layer") },
-#endif // ENABLE_ARROW_KEYS_WITH_SLIDERS
{ "Shift+", L("Press to speed up 5 times while moving thumb\nwith arrow keys or mouse wheel") },
{ ctrl, L("Press to speed up 5 times while moving thumb\nwith arrow keys or mouse wheel") },
};
@@ -237,15 +220,10 @@ void KBShortcutsDialog::fill_shortcuts()
m_full_shortcuts.push_back({ { _L("Vertical Slider"), _L("The following shortcuts are applicable in G-code preview when the vertical slider is active") }, layers_slider_shortcuts });
Shortcuts sequential_slider_shortcuts = {
-#if ENABLE_ARROW_KEYS_WITH_SLIDERS
{ L("Arrow Left"), L("Move active thumb Left") },
{ L("Arrow Right"), L("Move active thumb Right") },
{ L("Arrow Up"), L("Set left thumb as active") },
{ L("Arrow Down"), L("Set right thumb as active") },
-#else
- { L("Arrow Left"), L("Move active slider thumb Left") },
- { L("Arrow Right"), L("Move active slider thumb Right") },
-#endif // ENABLE_ARROW_KEYS_WITH_SLIDERS
{ "Shift+", L("Press to speed up 5 times while moving thumb\nwith arrow keys or mouse wheel") },
{ ctrl, L("Press to speed up 5 times while moving thumb\nwith arrow keys or mouse wheel") },
};