1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-12-27 15:37:49 +00:00

Fix "Edit Event" menu item when right clicking chart events

This commit is contained in:
EliteMasterEric 2024-01-15 18:21:49 -05:00
parent 4dec9827f2
commit 3366240eb5
2 changed files with 6 additions and 2 deletions

View file

@ -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"
},
{

View file

@ -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]));
}