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:
parent
4dec9827f2
commit
3366240eb5
4
hmm.json
4
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"
|
||||
},
|
||||
{
|
||||
|
|
|
@ -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]));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue