1
0
mirror of synced 2024-09-24 11:38:26 +02:00

fix: Custom styles not being scaled correctly

This commit is contained in:
WerWolv 2023-03-14 13:19:04 +01:00
parent daadc2ea71
commit a0b36925ed

View File

@ -1,4 +1,5 @@
#include <hex/api/theme_manager.hpp>
#include <hex/api/imhex_api.hpp>
#include <hex/helpers/logger.hpp>
#include <hex/helpers/utils.hpp>
@ -169,6 +170,8 @@ namespace hex::api {
}
}
}
ImGui::GetStyle().ScaleAllSizes(ImHexApi::System::getGlobalScale());
}
if (theme.contains("image_postfix")) {