Changed how thickness is calculated

Now works with the stuff done in #2671.
This commit is contained in:
xxSeys1
2024-06-03 23:25:54 +02:00
parent 106b48f4d5
commit 2b46f04baf

View File

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