private static void EndHandles() { EventType type = Event.current.type; if (type != EventType.Layout) { GUIUtility.s_HasKeyboardFocus = false; GUIUtility.s_EditorScreenPointOffset = Vector2.zero; } EditorGUI.s_DelayedTextEditor.EndGUI(type); }
static void OnEndContainer(IMGUIContainer c) { HandleUtility.EndHandles(); }