inspector: fix display for fractional pixel sizes (#8179)
commit
4d9d133ebc
|
|
@ -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(),
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue