mirror of
https://github.com/Siccity/xNode.git
synced 2026-03-26 22:49:02 +08:00
Fixed formatting and compile error
This commit is contained in:
parent
36c5c3f922
commit
1438b1463a
@ -503,7 +503,7 @@ namespace XNodeEditor {
|
||||
if (stoppedDraggingPort) {
|
||||
if (draggedPort != null && draggedPort.IsOutput) {
|
||||
GenericMenu menu = new GenericMenu();
|
||||
graphEditor.AddContextMenuItems(menu, ConnectOnCreate);
|
||||
graphEditor.AddContextMenuItems(menu);
|
||||
menu.DropDown(new Rect(Event.current.mousePosition, Vector2.zero));
|
||||
}
|
||||
stoppedDraggingPort = false;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user