mirror of
https://github.com/darksaid98/Flashback.git
synced 2026-12-01 14:38:50 +00:00
0.3.0
This commit is contained in:
1 parent
d2a217509f
commit
4d8f896cdf
90 files changed
+2345
-720
No files matched your search
@@ -5,7 +5,7 @@ import com.moulberry.flashback.state.EditorState;
|
||||
import com.moulberry.flashback.state.KeyframeTrack;
|
||||
import it.unimi.dsi.fastutil.ints.IntSet;
|
||||
|
||||
public record SelectedKeyframes(KeyframeType type, int trackIndex, IntSet keyframeTicks) {
|
||||
public record SelectedKeyframes(KeyframeType<?> type, int trackIndex, IntSet keyframeTicks) {
|
||||
public boolean checkValid(EditorState state) {
|
||||
if (this.trackIndex < 0 || this.trackIndex >= state.keyframeTracks.size()) {
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user