mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-08-20 07:25:59 +00:00
default note snapps
This commit is contained in:
parent
e44559d056
commit
aee8df4fcb
2
assets
2
assets
|
@ -1 +1 @@
|
|||
Subproject commit 2dd4ab0eb9979422c1c4cb849ebe899b7bf1758a
|
||||
Subproject commit 33ee5181c09e954beaf3629e34375eceb832bfd2
|
|
@ -2085,8 +2085,15 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState
|
|||
if (noteSnapQuantIndex < 0) noteSnapQuantIndex = SNAP_QUANTS.length - 1;
|
||||
};
|
||||
playbarNoteSnap.onClick = _ -> {
|
||||
noteSnapQuantIndex++;
|
||||
if (noteSnapQuantIndex >= SNAP_QUANTS.length) noteSnapQuantIndex = 0;
|
||||
if (FlxG.keys.pressed.SHIFT)
|
||||
{
|
||||
noteSnapQuantIndex = BASE_QUANT_INDEX;
|
||||
}
|
||||
else
|
||||
{
|
||||
noteSnapQuantIndex++;
|
||||
if (noteSnapQuantIndex >= SNAP_QUANTS.length) noteSnapQuantIndex = 0;
|
||||
}
|
||||
};
|
||||
|
||||
// Add functionality to the menu items.
|
||||
|
|
Loading…
Reference in a new issue