Fix the format string of font size in points in the inspector (#4371)
It's an `f32` which was previously formatted with `%d`. Credits to @gabydd who found this over at https://discord.com/channels/1005603569187160125/1324249888514506752/1324275061380874250.pull/4407/head
commit
2030599e1d
|
|
@ -724,7 +724,7 @@ fn renderSizeWindow(self: *Inspector) void {
|
||||||
{
|
{
|
||||||
_ = cimgui.c.igTableSetColumnIndex(1);
|
_ = cimgui.c.igTableSetColumnIndex(1);
|
||||||
cimgui.c.igText(
|
cimgui.c.igText(
|
||||||
"%d pt",
|
"%.2f pt",
|
||||||
self.surface.font_size.points,
|
self.surface.font_size.points,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue