@@ -38,7 +38,7 @@ public EditLinkTool(Link link) {
3838
3939 @ Override
4040 public BaseTool mouseMove (int x , int y ) {
41- Vec2 worldPoint = ViewUtil .screenToWorld (new Vec2 (x , y ));
41+ Vec2 worldPoint = ViewUtil .screenToWorld (new Vec2 (x , y ), false );
4242
4343 CtrlPt pickCtrl = link .path .closestCtrlPt (worldPoint );
4444 nearbyInfo = link .path .approxClosestPoint (worldPoint , 10 );
@@ -65,7 +65,7 @@ public boolean handlesRbDown() {
6565 public BaseTool rbDown (int x , int y ) {
6666 if (placePoint != null ) return this ; // do nothing if we're placing a point
6767
68- Vec2 worldPoint = ViewUtil .screenToWorld (new Vec2 (x , y ));
68+ Vec2 worldPoint = ViewUtil .screenToWorld (new Vec2 (x , y ), false );
6969 CtrlPt pickCtrl = link .path .closestCtrlPt (worldPoint );
7070
7171 if (pickCtrl != null && pickCtrl .pos .dist (worldPoint ) < 25 ) {
@@ -79,7 +79,7 @@ public BaseTool rbDown(int x, int y) {
7979 @ Override
8080 public BaseTool lbDown (int x , int y , boolean isShiftDown ) {
8181 // Try picking nearest control point
82- Vec2 worldPoint = ViewUtil .screenToWorld (new Vec2 (x , y ));
82+ Vec2 worldPoint = ViewUtil .screenToWorld (new Vec2 (x , y ), false );
8383 CtrlPt pickCtrl = link .path .closestCtrlPt (worldPoint );
8484
8585 if (pickCtrl != null && pickCtrl .pos .dist (worldPoint ) < 25 ) {
@@ -109,7 +109,7 @@ else if (nearbyInfo.pt.dist(worldPoint) < 20) {
109109 @ Override
110110 public BaseTool mouseDrag (int x , int y ) {
111111 if (placePoint != null ) {
112- Vec2 worldPoint = ViewUtil .screenToWorld (new Vec2 (x , y ));
112+ Vec2 worldPoint = ViewUtil .screenToWorld (new Vec2 (x , y ), false );
113113 placePoint .pos .set (worldPoint );
114114 editPoint .set (placePoint .pos );
115115 link .path .calcCurves ();
0 commit comments