inspector: fix display for fractional pixel sizes (#8179)

This commit is contained in:
Leah Amelia Chen
2025-08-08 17:12:43 +08:00
committed by GitHub

View File

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