From 6ee6c8e0be3e7f6e9df3d7859f5fae1cba53001d Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Tue, 3 Aug 2021 17:08:54 +0200 Subject: [PATCH] Fix arrows in AnimGraph state machine --- Source/Editor/Surface/Archetypes/Animation.StateMachine.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Editor/Surface/Archetypes/Animation.StateMachine.cs b/Source/Editor/Surface/Archetypes/Animation.StateMachine.cs index 1d04ae187..606412610 100644 --- a/Source/Editor/Surface/Archetypes/Animation.StateMachine.cs +++ b/Source/Editor/Surface/Archetypes/Animation.StateMachine.cs @@ -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;