Code style fixes

Changed two if statements to be single line.
This commit is contained in:
xxSeys1
2024-06-03 22:31:16 +02:00
parent 732b34d28b
commit 106b48f4d5

View File

@@ -198,15 +198,11 @@ namespace FlaxEditor.Surface.Elements
// TODO: Figure out how to only draw the topmost connection
if (IntersectsConnection(ref startPos, ref endPos, ref mousePosition, mouseOverDistance))
{
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);
}