mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
fix: Pixel perfect font not scaling correctly
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user