mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-21 01:36:03 +08:00
Merge pull request #3 from beef331/master
Fixed issue with NodeTint not working properly.
This commit is contained in:
commit
7c6ada52b8
@ -48,7 +48,7 @@ namespace XNodeEditor {
|
||||
}
|
||||
|
||||
public virtual Color GetTint() {
|
||||
Type type = GetType();
|
||||
Type type = target.GetType();
|
||||
if (NodeEditorWindow.nodeTint.ContainsKey(type)) return NodeEditorWindow.nodeTint[type];
|
||||
else return Color.white;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user