Skip to content

Commit c5bb108

Browse files
committed
Exit GUI scope after a successful drop
1 parent db267c6 commit c5bb108

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Assets/Editor Toolbox/Editor/Utilities/DragAndDropUtility.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ public static void DoDragAndDropForProperty(Rect rect, SerializedProperty proper
9090
{
9191
GUI.changed = true;
9292
DragAndDrop.AcceptDrag();
93+
GUIUtility.ExitGUI();
9394
}
9495
}
9596

0 commit comments

Comments
 (0)