No longer show 'tick' option when editing timelapse keyframe to avoid confusion

This commit is contained in:
Moulberry committed 2024-08-26 17:27:19 +08:00
1 parent d9de587543
commit 0e45d6c749
1 file changed
+1 -1
@@ -904,7 +904,6 @@ public class TimelineWindow {
editorState.push(new EditorStateHistoryEntry(undo, redo, "Changed interpolation type to " + interpolationType)); editorState.push(new EditorStateHistoryEntry(undo, redo, "Changed interpolation type to " + interpolationType));
} }
}
ImInt intWrapper = new ImInt(editingKeyframeTick); ImInt intWrapper = new ImInt(editingKeyframeTick);
ImGui.setNextItemWidth(160); ImGui.setNextItemWidth(160);
@@ -934,6 +933,7 @@ public class TimelineWindow {
} }
} }
} }
}
boolean multiple = selectedKeyframesList.size() >= 2 || selectedKeyframesList.getFirst().keyframeTicks().size() >= 2; boolean multiple = selectedKeyframesList.size() >= 2 || selectedKeyframesList.getFirst().keyframeTicks().size() >= 2;