inspector: fix display for fractional pixel sizes
#4371 2: Electric Boogaloo Regression caused by #7953pull/8179/head
parent
1d042f1e71
commit
7663f7d922
|
|
@ -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(),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue