mirror of
https://github.com/justUmen/Bjornulf_custom_nodes.git
synced 2026-03-25 14:25:44 -03:00
0.41
This commit is contained in:
@@ -47,6 +47,10 @@ app.registerExtension({
|
||||
color = '#0096FF'; // Integer
|
||||
} else if (/^-?\d*\.?\d+$/.test(value)) {
|
||||
color = 'orange'; // Float
|
||||
} else if (value.startsWith("If-Else ERROR: ")) {
|
||||
color = 'red'; // If-Else ERROR lines
|
||||
} else if (value.startsWith("tensor(")) {
|
||||
color = '#0096FF'; // Lines starting with "tensor("
|
||||
}
|
||||
|
||||
w.inputEl.style.color = color;
|
||||
|
||||
Reference in New Issue
Block a user