Draw impulse/ execution lines thicker than data ones

Slightly increases the thickness of impulse/ execution lines for node editors to make it easier for the user to follow execution flow (and indirectly also data flow)
This commit is contained in:
xxSeys1
2024-06-03 20:45:20 +02:00
parent 116539ce34
commit 732b34d28b

View File

@@ -202,6 +202,12 @@ namespace FlaxEditor.Surface.Elements
highlight += DefaultConnectionThickness * 0.5f;
}
// Increase thickness on impulse/ execution lines
if (targetBox.CurrentType.IsVoid)
{
highlight += 1.25f;
}
DrawConnection(style, ref startPos, ref endPos, ref color, highlight);
}
}