Changed how thickness is calculated
Now works with the stuff done in #2671.
This commit is contained in:
@@ -202,7 +202,7 @@ namespace FlaxEditor.Surface.Elements
|
|||||||
|
|
||||||
// Increase thickness on impulse/ execution lines
|
// Increase thickness on impulse/ execution lines
|
||||||
if (targetBox.CurrentType.IsVoid)
|
if (targetBox.CurrentType.IsVoid)
|
||||||
highlight += 1.25f;
|
highlight *= 2;
|
||||||
|
|
||||||
DrawConnection(style, ref startPos, ref endPos, ref color, highlight);
|
DrawConnection(style, ref startPos, ref endPos, ref color, highlight);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user