Switch spline ui to drag and drop only
Picking up and placing down is unintuitive
Change-Id: Iff51afe2e97a8334ad4af99ef61f9338a5cb29c2
Signed-off-by: Ravago Jones <ravagojones@gmail.com>
diff --git a/frc971/control_loops/python/path_edit.py b/frc971/control_loops/python/path_edit.py
index 9a0f7fe..317d7e4 100755
--- a/frc971/control_loops/python/path_edit.py
+++ b/frc971/control_loops/python/path_edit.py
@@ -404,7 +404,7 @@
self.mousex, self.mousey = self.input_transform.transform_point(
event.x, event.y)
if self.mode == Mode.kEditing:
- if self.index_of_edit > -1 and self.held_x != self.mousex:
+ if self.index_of_edit > -1:
self.points.setSplines(self.spline_edit, self.index_of_edit,
self.mousex,
self.mousey)