Skip to content

Commit

Permalink
fix not being able to edit the position of a point on the previous pa…
Browse files Browse the repository at this point in the history
…th is the next path is selected
  • Loading branch information
varun7654 committed Nov 6, 2023
1 parent 4c948f1 commit 60dcf14
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ private void update() {
}
}
//If we have a selected point, update it every frame
if (lastSelectedPoint != null) {
if (lastSelectedPoint != null && !onGui) {
lastSelectedPoint.parentTrajectoryPathRenderer().updatePoint(cam, mousePos, mouseDiff);
somethingMoved = Gdx.input.isButtonJustPressed(Input.Buttons.LEFT);
}
Expand Down

0 comments on commit 60dcf14

Please sign in to comment.