Fix sensors
Signed-off-by: Vasiliy Doylov <nekodevelopper@gmail.com>
This commit is contained in:
parent
7a2a798ff9
commit
3dbae8afba
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ class TheCatTools.GUI.BoubleBar : Gtk.DrawingArea, Gtk.Orientable {
|
|||
if (res > 90)
|
||||
res = 180 - res;
|
||||
if (res < -90)
|
||||
res = -180 + res;
|
||||
res = -180 - res;
|
||||
return res.clamp (adjustment.lower, adjustment.upper);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue