Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
fix: neg fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiDog1998 committed Jul 18, 2024
1 parent bbf8ba6 commit 4ff5b64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ActionTimelineEx/Configurations/RotationSetting.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class RotationSetting
if (result != null) return result;

if (index >= GCDs.Count) return null;
return GCDs[index];
return GCDs[Math.Max(0, index)];
}

public void Draw()
Expand Down

0 comments on commit 4ff5b64

Please sign in to comment.