From f52abb4cc74f52a9bdd60183608e822a272ce15f Mon Sep 17 00:00:00 2001 From: Hannele Ruiz Date: Tue, 19 Dec 2023 01:51:02 -0300 Subject: [PATCH] Added texture drawing --- LemonUI/Elements/ScaledAnim.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/LemonUI/Elements/ScaledAnim.cs b/LemonUI/Elements/ScaledAnim.cs index 73c8fa7..4071fda 100644 --- a/LemonUI/Elements/ScaledAnim.cs +++ b/LemonUI/Elements/ScaledAnim.cs @@ -113,6 +113,8 @@ public override void Draw() int totalFrames = (int)((duration / 1000.0f) * frameRate); int currentFrame = (int)(totalFrames * progress); texture.Texture = currentFrame.ToString(); + + texture.Draw(); } #endregion