mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-06-17 15:03:34 +00:00
Merge remote-tracking branch 'origin/feature/chart-editor-snap' into develop
This commit is contained in:
commit
2f16b9af96
|
@ -2039,29 +2039,11 @@ class ChartEditorState extends HaxeUIState
|
||||||
if (FlxG.keys.justPressed.LEFT && !FlxG.keys.pressed.CONTROL)
|
if (FlxG.keys.justPressed.LEFT && !FlxG.keys.pressed.CONTROL)
|
||||||
{
|
{
|
||||||
noteSnapQuantIndex--;
|
noteSnapQuantIndex--;
|
||||||
#if !mac
|
|
||||||
NotificationManager.instance.addNotification(
|
|
||||||
{
|
|
||||||
title: 'Note Snapping',
|
|
||||||
body: 'Updated note snapping to 1/${noteSnapQuant}',
|
|
||||||
type: NotificationType.Success,
|
|
||||||
expiryMs: ChartEditorState.NOTIFICATION_DISMISS_TIME
|
|
||||||
});
|
|
||||||
#end
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (FlxG.keys.justPressed.RIGHT && !FlxG.keys.pressed.CONTROL)
|
if (FlxG.keys.justPressed.RIGHT && !FlxG.keys.pressed.CONTROL)
|
||||||
{
|
{
|
||||||
noteSnapQuantIndex++;
|
noteSnapQuantIndex++;
|
||||||
#if !mac
|
|
||||||
NotificationManager.instance.addNotification(
|
|
||||||
{
|
|
||||||
title: 'Note Snapping',
|
|
||||||
body: 'Updated note snapping to 1/${noteSnapQuant}',
|
|
||||||
type: NotificationType.Success,
|
|
||||||
expiryMs: ChartEditorState.NOTIFICATION_DISMISS_TIME
|
|
||||||
});
|
|
||||||
#end
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue