diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-01-29 04:48:59 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-01-29 04:48:59 +0100 |
commit | d3e516636cc3e6397139dc961608f73408fa12fe (patch) | |
tree | 67a7e7ad0ac52ac5b250224327ad1440800c4a63 /logic/main-settings.hpp | |
parent | c79fa7536d0b65a316b9468debbde43c9941b48f (diff) |
logic/main-settings: fix braino
Only if we were clamping Y it'd made sense. When clamping X it doesn't.
Diffstat (limited to 'logic/main-settings.hpp')
-rw-r--r-- | logic/main-settings.hpp | 2 |
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) |