summaryrefslogtreecommitdiffhomepage
path: root/logic/main-settings.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'logic/main-settings.hpp')
-rw-r--r--logic/main-settings.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/main-settings.hpp b/logic/main-settings.hpp
index 66146913..504952ff 100644
--- a/logic/main-settings.hpp
+++ b/logic/main-settings.hpp
@@ -41,7 +41,7 @@ struct axis_opts final
src(b_settings_window, n(pfx, "source-index"), idx),
invert(b_settings_window, n(pfx, "invert-sign"), false),
altp(b_mapping_window, n(pfx, "alt-axis-sign"), false),
- clamp(b_mapping_window, n(pfx, "max-value"), idx == Pitch ? r90 : r180)
+ clamp(b_mapping_window, n(pfx, "max-value"), r180)
{}
private:
static inline QString n(QString pfx, QString name)