From d3036a72751f10013b7bf94e3466d7aa084ffb65 Mon Sep 17 00:00:00 2001 From: lunarcleint Date: Wed, 26 Mar 2025 11:40:03 -0700 Subject: [PATCH] fix right click on character editor --- source/funkin/editors/character/CharacterEditor.hx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/funkin/editors/character/CharacterEditor.hx b/source/funkin/editors/character/CharacterEditor.hx index ea849b1b..74e59c04 100644 --- a/source/funkin/editors/character/CharacterEditor.hx +++ b/source/funkin/editors/character/CharacterEditor.hx @@ -364,8 +364,9 @@ class CharacterEditor extends UIState { } if (FlxG.mouse.justReleasedRight) { + var mousePos = FlxG.mouse.getScreenPosition(uiCamera); closeCurrentContextMenu(); - openContextMenu(topMenu[2].childs); + openContextMenu(topMenu[2].childs, null, mousePos.x, mousePos.y); } if (FlxG.mouse.pressed && !FlxG.mouse.justPressed) {