fix: Custom styles not being scaled correctly
This commit is contained in:
parent
daadc2ea71
commit
a0b36925ed
@ -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")) {
|
||||
|
Loading…
Reference in New Issue
Block a user