diff options
author | Robert Adam <dev@robert-adam.de> | 2019-12-23 12:51:01 +0300 |
---|---|---|
committer | Davide Beatrici <davidebeatrici@gmail.com> | 2019-12-27 01:40:35 +0300 |
commit | 9b9a491756587c21dbda63c586d941ef0e5eba39 (patch) | |
tree | 6207ee0cce15200eb6c1ce0a4c3fac08853999f2 /src/mumble/ManualPlugin.cpp | |
parent | 70985ae6713269a408da8813901177c3b6ce947f (diff) |
ManualPlugin: change orientation of the azimuth slider to match the position indicator's
Diffstat (limited to 'src/mumble/ManualPlugin.cpp')
-rw-r--r-- | src/mumble/ManualPlugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mumble/ManualPlugin.cpp b/src/mumble/ManualPlugin.cpp index f9f1b5839..9ee11aa23 100644 --- a/src/mumble/ManualPlugin.cpp +++ b/src/mumble/ManualPlugin.cpp @@ -129,8 +129,8 @@ void Manual::on_qdsbZ_valueChanged(double d) { } void Manual::on_qsbAzimuth_valueChanged(int i) { - if (i > 180) - qdAzimuth->setValue(-360 + i); + if (i > 360) + qdAzimuth->setValue(i % 360); else qdAzimuth->setValue(i); |