Merge branch 'IncreasedExecutionLineThickness' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-IncreasedExecutionLineThickness

This commit is contained in:
Wojtek Figat
2024-06-05 18:00:59 +02:00

View File

@@ -198,10 +198,12 @@ 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 *= 2;
DrawConnection(style, ref startPos, ref endPos, ref color, highlight);
}
}