Fix arrows in AnimGraph state machine

This commit is contained in:
Wojtek Figat
2021-08-03 17:08:54 +02:00
parent c9b87d9b76
commit 6ee6c8e0be

View File

@@ -665,7 +665,7 @@ namespace FlaxEditor.Surface.Archetypes
var arrowTransform = Matrix3x3.Translation2D(new Vector2(-16.0f, -8.0f)) * Matrix3x3.RotationZ(rotation * Mathf.PiOverTwo) * Matrix3x3.Translation2D(endPos);
Render2D.PushTransform(ref arrowTransform);
Render2D.DrawSprite(surface.Style.Icons.ArrowClose, arrowRect, color);
Render2D.DrawSprite(Editor.Instance.Icons.VisjectArrowClosed32, arrowRect, color);
Render2D.PopTransform();
endPos -= dir * 4.0f;