Tune spline UI zoom limits
Zoom further in, but not as far out.
Change-Id: I6c695f8687f3b38e9d2c64667c71ee8a47949b1a
Signed-off-by: Austin Schuh <austin.linux@gmail.com>
diff --git a/frc971/control_loops/python/path_edit.py b/frc971/control_loops/python/path_edit.py
index bf54f60..4e97dde 100755
--- a/frc971/control_loops/python/path_edit.py
+++ b/frc971/control_loops/python/path_edit.py
@@ -454,9 +454,9 @@
point = self.mousex, self.mousey
# This restricts the amount it can be scaled.
- if self.transform.xx <= 0.4:
+ if self.transform.xx <= 0.75:
scale = max(scale, 1)
- elif self.transform.xx >= 4:
+ elif self.transform.xx >= 16:
scale = min(scale, 1)
# move the origin to point