mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-17 17:26:09 +03:00
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.
This commit is contained in:
@ -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,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user