mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-20 17:26:02 +08:00
Fixed issue with NodeTint not working properly.
This commit is contained in:
parent
e3466a4f8d
commit
0f6fca09bd
@ -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