1
0
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:
Thor Brigsted 2019-09-06 18:12:13 +02:00
parent 36c5c3f922
commit 1438b1463a
2 changed files with 10 additions and 10 deletions

View File

@ -503,7 +503,7 @@ namespace XNodeEditor {
if (stoppedDraggingPort) { if (stoppedDraggingPort) {
if (draggedPort != null && draggedPort.IsOutput) { if (draggedPort != null && draggedPort.IsOutput) {
GenericMenu menu = new GenericMenu(); GenericMenu menu = new GenericMenu();
graphEditor.AddContextMenuItems(menu, ConnectOnCreate); graphEditor.AddContextMenuItems(menu);
menu.DropDown(new Rect(Event.current.mousePosition, Vector2.zero)); menu.DropDown(new Rect(Event.current.mousePosition, Vector2.zero));
} }
stoppedDraggingPort = false; stoppedDraggingPort = false;