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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user