From fe91d5e81a4bed1689c2a7fd7dcf65b5878c78cb Mon Sep 17 00:00:00 2001
From: Matt Parker <61717342+MattParkerDev@users.noreply.github.com>
Date: Sun, 18 Jan 2026 19:12:02 +1000
Subject: [PATCH] build animation on run
---
.../Features/LeftSideBar/Resources/Build.svg | 22 +++++++++----------
.../Features/Run/RunMenuItem.cs | 11 ++++++++++
.../Features/Run/RunMenuItem.tscn | 15 ++++++++-----
3 files changed, 32 insertions(+), 16 deletions(-)
diff --git a/src/SharpIDE.Godot/Features/LeftSideBar/Resources/Build.svg b/src/SharpIDE.Godot/Features/LeftSideBar/Resources/Build.svg
index e5af260..a1156fa 100644
--- a/src/SharpIDE.Godot/Features/LeftSideBar/Resources/Build.svg
+++ b/src/SharpIDE.Godot/Features/LeftSideBar/Resources/Build.svg
@@ -25,9 +25,9 @@
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#505050"
- inkscape:zoom="5.8349999"
- inkscape:cx="46.786633"
- inkscape:cy="56.469581"
+ inkscape:zoom="4.125968"
+ inkscape:cx="10.664164"
+ inkscape:cy="16.11743"
inkscape:window-width="2560"
inkscape:window-height="1369"
inkscape:window-x="-8"
@@ -35,16 +35,16 @@
inkscape:window-maximized="1"
inkscape:current-layer="Capa_1" />
diff --git a/src/SharpIDE.Godot/Features/Run/RunMenuItem.cs b/src/SharpIDE.Godot/Features/Run/RunMenuItem.cs
index cd328d7..1dc488b 100644
--- a/src/SharpIDE.Godot/Features/Run/RunMenuItem.cs
+++ b/src/SharpIDE.Godot/Features/Run/RunMenuItem.cs
@@ -12,6 +12,8 @@ public partial class RunMenuItem : HBoxContainer
private Button _runButton = null!;
private Button _debugButton = null!;
private Button _stopButton = null!;
+ private Control _animatedTextureParentControl = null!;
+ private AnimationPlayer _buildAnimationPlayer = null!;
[Inject] private readonly RunService _runService = null!;
public override void _Ready()
@@ -24,6 +26,8 @@ public partial class RunMenuItem : HBoxContainer
_stopButton.Pressed += OnStopButtonPressed;
_debugButton = GetNode