1
0
mirror of https://github.com/Siccity/xNode.git synced 2026-02-04 14:24:54 +08:00

Merge pull request #348 from NeedsLoomis/dynamic-port-fix

Fix DynamicPortList reordering operating on old data
This commit is contained in:
Thor Brigsted 2022-07-14 11:32:41 +02:00 committed by GitHub
commit 37680daee7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -394,6 +394,7 @@ namespace XNodeEditor {
}; };
list.onReorderCallback = list.onReorderCallback =
(ReorderableList rl) => { (ReorderableList rl) => {
serializedObject.Update();
bool hasRect = false; bool hasRect = false;
bool hasNewRect = false; bool hasNewRect = false;
Rect rect = Rect.zero; Rect rect = Rect.zero;