Merge branch '1.8' into 1.9.4
c93a3e3Open Replay on double click (fixes #9)8bb5d11Update ReplayStudiof3142a7Pause replay after path playback (fixes #5)3abaa1bCleanup deleted corrupted replays after two days (fixes #1)4b47f2cAdd compatibility checking to ReplayViewer and ReplayCenter (fixes #7)ada460cDeselect keyframe when left clicking empty space on timeline (fixes #6)ad62060Apply render settings only when their checkbox is enabled (fixes #3)82246a5Deselect Keyframe when timeline is changed (fixes #2)
This commit is contained in:
@@ -84,6 +84,9 @@ public class ReplayModSimplePathing implements PathingRegistry {
|
||||
}
|
||||
|
||||
public void setCurrentTimeline(Timeline currentTimeline) {
|
||||
if (this.currentTimeline != currentTimeline) {
|
||||
selectedKeyframe = null;
|
||||
}
|
||||
this.currentTimeline = currentTimeline;
|
||||
}
|
||||
|
||||
|
||||
@@ -208,6 +208,7 @@ public class GuiKeyframeTimeline extends AbstractGuiTimeline<GuiKeyframeTimeline
|
||||
// Clicked on timeline but not on any keyframe
|
||||
if (button == 0) { // Left click
|
||||
setCursorPosition(time);
|
||||
gui.getMod().setSelectedKeyframe(null);
|
||||
} else if (button == 1) { // Right click
|
||||
if (pathKeyframePair.getLeft() != null) {
|
||||
// Apply the value of the clicked path at the clicked position
|
||||
|
||||
Reference in New Issue
Block a user