1
0
mirror of synced 2024-12-01 02:37:18 +01:00

fix: Font being scaled too big

This commit is contained in:
WerWolv 2023-02-16 16:29:41 +01:00
parent 20da22d59e
commit 8cb76a26c1

View File

@ -733,8 +733,7 @@ namespace hex {
io.ConfigFlags |= ImGuiConfigFlags_DockingEnable | ImGuiConfigFlags_NavEnableKeyboard;
io.ConfigWindowsMoveFromTitleBarOnly = true;
io.FontGlobalScale = ImHexApi::System::getGlobalScale();
io.FontGlobalScale = 1.0F;
if (glfwGetPrimaryMonitor() != nullptr) {
auto sessionType = hex::getEnvironmentVariable("XDG_SESSION_TYPE");