Skip to content

Commit

Permalink
Fix format string of font size in points in the inspector
Browse files Browse the repository at this point in the history
Credits to @gabydd who found this over at https://discord.com/channels/1005603569187160125/1324249888514506752/1324275061380874250.

Co-authored-by:  Gabriel Dinner-David  <gabydinnerdavid@gmail.com>
  • Loading branch information
00-kat and gabydd authored Jan 2, 2025
1 parent 9459910 commit 78b914b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/inspector/Inspector.zig
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ fn renderSizeWindow(self: *Inspector) void {
{
_ = cimgui.c.igTableSetColumnIndex(1);
cimgui.c.igText(
"%d pt",
"%.2f pt",
self.surface.font_size.points,
);
}
Expand Down

0 comments on commit 78b914b

Please sign in to comment.