Deselect keyframe when pressing "V" aka. sync timelines (fixes #27)

This commit is contained in:
johni0702
2016-11-12 17:31:29 +01:00
parent 682fb4bfdc
commit 9add2afec1

View File

@@ -452,6 +452,8 @@ public class GuiPathing {
int cursorPassed = (int) (timePassed / speed); int cursorPassed = (int) (timePassed / speed);
// Move cursor to new position // Move cursor to new position
timeline.setCursorPosition(keyframeCursor + cursorPassed); timeline.setCursorPosition(keyframeCursor + cursorPassed);
// Deselect keyframe to allow the user to add a new one right away
mod.setSelectedKeyframe(null);
}); });
}); });