fix: Pixel perfect font not scaling correctly

This commit is contained in:
WerWolv
2025-07-11 14:54:54 +02:00
parent aa8235c279
commit 4520637aed
3 changed files with 31 additions and 22 deletions

View File

@@ -1283,8 +1283,8 @@ namespace hex {
io.UserData = &m_imguiCustomData;
auto scale = ImHexApi::System::getGlobalScale();
style.ScaleAllSizes(scale);
style.ScaleAllSizes(ImHexApi::System::getGlobalScale());
auto scale = ImHexApi::System::getNativeScale();
io.DisplayFramebufferScale = ImVec2(scale, scale);
style.WindowMenuButtonPosition = ImGuiDir_None;