1
0
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:
Jason Beetham 2017-11-25 19:47:40 -07:00
parent e3466a4f8d
commit 0f6fca09bd

View File

@ -48,7 +48,7 @@ namespace XNodeEditor {
} }
public virtual Color GetTint() { public virtual Color GetTint() {
Type type = GetType(); Type type = target.GetType();
if (NodeEditorWindow.nodeTint.ContainsKey(type)) return NodeEditorWindow.nodeTint[type]; if (NodeEditorWindow.nodeTint.ContainsKey(type)) return NodeEditorWindow.nodeTint[type];
else return Color.white; else return Color.white;
} }