From 3366240eb5e02b17195dbeec86df328cd7048e6c Mon Sep 17 00:00:00 2001 From: EliteMasterEric Date: Mon, 15 Jan 2024 18:21:49 -0500 Subject: [PATCH] Fix "Edit Event" menu item when right clicking chart events --- hmm.json | 4 ++-- .../charting/contextmenus/ChartEditorEventContextMenu.hx | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/hmm.json b/hmm.json index 9a74ae54a..d93ea0658 100644 --- a/hmm.json +++ b/hmm.json @@ -54,14 +54,14 @@ "name": "haxeui-core", "type": "git", "dir": null, - "ref": "2561076c5abeee0a60f3a2a65a8ecb7832a6a62a", + "ref": "bb904f8b4b205755a310c23ff25219f9dcd62711", "url": "https://github.com/haxeui/haxeui-core" }, { "name": "haxeui-flixel", "type": "git", "dir": null, - "ref": "4f1842e55a410014dd4a188b576b31019631493a", + "ref": "1ec470c297afd7758a90dc9399aa1e3a4ea6ca0b", "url": "https://github.com/haxeui/haxeui-flixel" }, { diff --git a/source/funkin/ui/debug/charting/contextmenus/ChartEditorEventContextMenu.hx b/source/funkin/ui/debug/charting/contextmenus/ChartEditorEventContextMenu.hx index a79125b21..d848f1435 100644 --- a/source/funkin/ui/debug/charting/contextmenus/ChartEditorEventContextMenu.hx +++ b/source/funkin/ui/debug/charting/contextmenus/ChartEditorEventContextMenu.hx @@ -25,6 +25,10 @@ class ChartEditorEventContextMenu extends ChartEditorBaseContextMenu function initialize() { + contextmenuEdit.onClick = function(_) { + chartEditorState.showToolbox(ChartEditorState.CHART_EDITOR_TOOLBOX_EVENT_DATA_LAYOUT); + } + contextmenuDelete.onClick = function(_) { chartEditorState.performCommand(new RemoveEventsCommand([data])); }