Skip to content

Commit

Permalink
Added texture drawing
Browse files Browse the repository at this point in the history
  • Loading branch information
justalemon committed Dec 19, 2023
1 parent 84fb739 commit f52abb4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions LemonUI/Elements/ScaledAnim.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f52abb4

Please sign in to comment.