inspector: fix display for fractional pixel sizes

#4371 2: Electric Boogaloo

Regression caused by #7953
pull/8179/head
Leah Amelia Chen 2025-08-08 00:43:14 +08:00
parent 1d042f1e71
commit 7663f7d922
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -756,7 +756,7 @@ fn renderSizeWindow(self: *Inspector) void {
{ {
_ = cimgui.c.igTableSetColumnIndex(1); _ = cimgui.c.igTableSetColumnIndex(1);
cimgui.c.igText( cimgui.c.igText(
"%d px", "%.2f px",
self.surface.font_size.pixels(), self.surface.font_size.pixels(),
); );
} }