Fix format string of font size in points in the inspector

Credits to @gabydd who found this over at https://discord.com/channels/1005603569187160125/1324249888514506752/1324275061380874250.

Co-authored-by:  Gabriel Dinner-David  <gabydinnerdavid@gmail.com>
This commit is contained in:
Kat
2025-01-02 07:44:40 +00:00
committed by GitHub
parent 94599102e9
commit 78b914b3d8

View File

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