1
0
mirror of https://github.com/Siccity/xNode.git synced 2025-12-20 01:06:01 +08:00

Merge pull request #192 from nostek/fix/dontrepaintalways

* This line was not present before commit 43bcb54fda4378e46a678c866242954248a63702 (Odin inspector support (#182) and causes the window to repaint every frame but only if you have a custom node editor.
This commit is contained in:
Thor Brigsted 2019-10-09 10:28:45 +02:00 committed by GitHub
commit ceb4700eda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -72,8 +72,6 @@ namespace XNodeEditor {
GUIHelper.ClearRepaintRequest();
window.Repaint();
}
#else
window.Repaint();
#endif
#if ODIN_INSPECTOR

View File

@ -309,6 +309,7 @@ namespace XNodeEditor {
SelectNode(node, true);
}
}
Repaint();
}
break;
case EventType.ValidateCommand: