mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-21 01:36:03 +08:00
EditorGUI.FocusTextInControl(null) sets editingTextField to true even if null is being sent in. (#113)
Then the editor won't listen to keyboard input.
This commit is contained in:
parent
662e919aaa
commit
8cb647734a
@ -235,6 +235,7 @@ namespace XNodeEditor {
|
|||||||
// If click outside node, release field focus
|
// If click outside node, release field focus
|
||||||
if (!isPanning) {
|
if (!isPanning) {
|
||||||
EditorGUI.FocusTextInControl(null);
|
EditorGUI.FocusTextInControl(null);
|
||||||
|
EditorGUIUtility.editingTextField = false;
|
||||||
}
|
}
|
||||||
if (NodeEditorPreferences.GetSettings().autoSave) AssetDatabase.SaveAssets();
|
if (NodeEditorPreferences.GetSettings().autoSave) AssetDatabase.SaveAssets();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user