Browse Source

String.Format -> $""

main
Colin McMillen 12 months ago
parent
commit
028419eb20
  1. 2
      Program.cs

2
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();
}

Loading…
Cancel
Save