diff --git a/Program.cs b/Program.cs index de5137f..2d59fff 100644 --- a/Program.cs +++ b/Program.cs @@ -479,7 +479,7 @@ public class Game : GameWindow { } } if (photos[photoIndex].Loaded) { - Texture label = Util.RenderText(String.Format("zoom: {0:F1}%", scale * 100)); + Texture label = Util.RenderText($"zoom: {(scale * 100):F1}%"); DrawTexture(label, Util.MakeBox(10, 10, label.Size.X, label.Size.Y)); label.Dispose(); }