Code style fixes
Changed two if statements to be single line.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user