mirror of
https://github.com/Siccity/xNode.git
synced 2026-03-26 22:49:02 +08:00
SavePrefs was saving to the wrong key.
This commit is contained in:
parent
d68aea2a8a
commit
1a02f4886c
@ -171,7 +171,7 @@ namespace XNodeEditor {
|
|||||||
typeColors[type] = col;
|
typeColors[type] = col;
|
||||||
if (settings.typeColors.ContainsKey(typeColorKey)) settings.typeColors[typeColorKey] = col;
|
if (settings.typeColors.ContainsKey(typeColorKey)) settings.typeColors[typeColorKey] = col;
|
||||||
else settings.typeColors.Add(typeColorKey, col);
|
else settings.typeColors.Add(typeColorKey, col);
|
||||||
SavePrefs(typeColorKey, settings);
|
SavePrefs(key, settings);
|
||||||
NodeEditorWindow.RepaintAll();
|
NodeEditorWindow.RepaintAll();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user