1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2025-02-08 12:38:21 +00:00

default note snapps

This commit is contained in:
Cameron Taylor 2023-11-27 23:29:48 -05:00
parent e44559d056
commit aee8df4fcb
2 changed files with 10 additions and 3 deletions

2
assets

@ -1 +1 @@
Subproject commit 2dd4ab0eb9979422c1c4cb849ebe899b7bf1758a Subproject commit 33ee5181c09e954beaf3629e34375eceb832bfd2

View file

@ -2085,8 +2085,15 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState
if (noteSnapQuantIndex < 0) noteSnapQuantIndex = SNAP_QUANTS.length - 1; if (noteSnapQuantIndex < 0) noteSnapQuantIndex = SNAP_QUANTS.length - 1;
}; };
playbarNoteSnap.onClick = _ -> { playbarNoteSnap.onClick = _ -> {
noteSnapQuantIndex++; if (FlxG.keys.pressed.SHIFT)
if (noteSnapQuantIndex >= SNAP_QUANTS.length) noteSnapQuantIndex = 0; {
noteSnapQuantIndex = BASE_QUANT_INDEX;
}
else
{
noteSnapQuantIndex++;
if (noteSnapQuantIndex >= SNAP_QUANTS.length) noteSnapQuantIndex = 0;
}
}; };
// Add functionality to the menu items. // Add functionality to the menu items.