1
0
mirror of synced 2025-01-18 00:56:49 +01:00

impr: Better look of footer items

This commit is contained in:
WerWolv 2023-11-25 16:07:33 +01:00
parent 9306017f01
commit 8e8a926ad9
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ namespace hex::plugin::builtin {
framerate = 1.0F / ImGui::GetIO().DeltaTime;
}
ImGuiExt::TextFormatted("FPS {0:2}.{1:02}", u32(framerate), u32(framerate * 100) % 100);
ImGuiExt::TextFormatted("FPS {0:3}.{1:02}", u32(framerate), u32(framerate * 100) % 100);
});
#endif

View File

@ -61,7 +61,7 @@ namespace hex::plugin::windows {
cpuUsage *= 100;
}
ImGuiExt::TextFormatted(ICON_FA_TACHOMETER_ALT " {0:2}.{1:02}", u32(cpuUsage), u32(cpuUsage * 100) % 100);
ImGuiExt::TextFormatted(ICON_FA_TACHOMETER_ALT " {0:2}.{1:02}%", u32(cpuUsage), u32(cpuUsage * 100) % 100);
});
ContentRegistry::Interface::addFooterItem([] {