From d3e516636cc3e6397139dc961608f73408fa12fe Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 29 Jan 2017 04:48:59 +0100 Subject: logic/main-settings: fix braino Only if we were clamping Y it'd made sense. When clamping X it doesn't. --- logic/main-settings.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'logic') 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) -- cgit v1.2.3