We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25720d7 commit 786ff95Copy full SHA for 786ff95
Assets/RuntimeNodeEditor/Scripts/Utility.cs
@@ -34,7 +34,7 @@ public static Vector2 GetCtxMenuPointerPosition(RectTransform rect)
34
out localPointerPos);
35
#endif
36
#if ENABLE_INPUT_SYSTEM
37
- success = RectTransformUtility.ScreenPointToLocalPointInRectangle(_contextMenuContainer,
+ success = RectTransformUtility.ScreenPointToLocalPointInRectangle(rect,
38
UnityEngine.InputSystem.Mouse.current.position.ReadValue(),
39
null,
40
0 commit comments