diff --git a/assets b/assets index 145e844ba..1d63fea18 160000 --- a/assets +++ b/assets @@ -1 +1 @@ -Subproject commit 145e844ba6a4ce3b0170b81e5198e3720646bb0c +Subproject commit 1d63fea18ae371d3536de9ebadce9ffd3ec8f752 diff --git a/source/funkin/ui/debug/charting/contextmenus/ChartEditorHoldNoteContextMenu.hx b/source/funkin/ui/debug/charting/contextmenus/ChartEditorHoldNoteContextMenu.hx index 17a468d52..326c43c3f 100644 --- a/source/funkin/ui/debug/charting/contextmenus/ChartEditorHoldNoteContextMenu.hx +++ b/source/funkin/ui/debug/charting/contextmenus/ChartEditorHoldNoteContextMenu.hx @@ -11,6 +11,7 @@ import funkin.ui.debug.charting.commands.ExtendNoteLengthCommand; @:build(haxe.ui.ComponentBuilder.build("assets/exclude/data/ui/chart-editor/context-menus/hold-note.xml")) class ChartEditorHoldNoteContextMenu extends ChartEditorBaseContextMenu { + var contextmenuEdit:MenuItem; var contextmenuFlip:MenuItem; var contextmenuDelete:MenuItem; @@ -27,6 +28,11 @@ class ChartEditorHoldNoteContextMenu extends ChartEditorBaseContextMenu public function initialize():Void { // NOTE: Remember to use commands here to ensure undo/redo works properly + contextmenuEdit.onClick = function(_) + { + chartEditorState.showToolbox(ChartEditorState.CHART_EDITOR_TOOLBOX_NOTE_DATA_LAYOUT); + } + contextmenuFlip.onClick = function(_) { chartEditorState.performCommand(new FlipNotesCommand([data])); diff --git a/source/funkin/ui/debug/charting/contextmenus/ChartEditorNoteContextMenu.hx b/source/funkin/ui/debug/charting/contextmenus/ChartEditorNoteContextMenu.hx index aac0c2845..89b8bc46b 100644 --- a/source/funkin/ui/debug/charting/contextmenus/ChartEditorNoteContextMenu.hx +++ b/source/funkin/ui/debug/charting/contextmenus/ChartEditorNoteContextMenu.hx @@ -12,6 +12,7 @@ import funkin.ui.debug.charting.commands.ExtendNoteLengthCommand; @:build(haxe.ui.ComponentBuilder.build("assets/exclude/data/ui/chart-editor/context-menus/note.xml")) class ChartEditorNoteContextMenu extends ChartEditorBaseContextMenu { + var contextmenuEdit:MenuItem; var contextmenuFlip:MenuItem; var contextmenuMirrorX:MenuItem; var contextmenuDelete:MenuItem; @@ -29,6 +30,11 @@ class ChartEditorNoteContextMenu extends ChartEditorBaseContextMenu public function initialize():Void { // NOTE: Remember to use commands here to ensure undo/redo works properly + contextmenuEdit.onClick = function(_) + { + chartEditorState.showToolbox(ChartEditorState.CHART_EDITOR_TOOLBOX_NOTE_DATA_LAYOUT); + } + contextmenuFlip.onClick = function(_) { chartEditorState.performCommand(new FlipNotesCommand([data]));