1
0
mirror of https://github.com/Siccity/xNode.git synced 2026-03-26 22:49:02 +08:00

Fix formatting

This commit is contained in:
Romain Théry 2020-04-23 11:52:14 +02:00 committed by GitHub
parent c0b76fbb35
commit 61aa580117
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,8 +77,7 @@ namespace XNodeEditor {
void OnFocus() { void OnFocus() {
current = this; current = this;
ValidateGraphEditor(); ValidateGraphEditor();
if (graphEditor != null) if (graphEditor != null) {
{
graphEditor.OnWindowFocus(); graphEditor.OnWindowFocus();
if (NodeEditorPreferences.GetSettings().autoSave) AssetDatabase.SaveAssets(); if (NodeEditorPreferences.GetSettings().autoSave) AssetDatabase.SaveAssets();
} }