mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
build: Add support for x86 macOS 10.15 and ARM64 macOS 11.0 (#2607)
This PR drops the use of brew for dependency management in favor of macports so we can support lower macOS versions instead of just the lowest one supported by Apple Closes #2586
This commit is contained in:
@@ -513,7 +513,7 @@ namespace hex::init {
|
||||
if (meanScale <= 0.0F)
|
||||
meanScale = 1.0F;
|
||||
|
||||
#if !defined(OS_LINUX)
|
||||
#if !defined(OS_LINUX) && !defined(OS_WEB)
|
||||
meanScale /= hex::ImHexApi::System::getBackingScaleFactor();
|
||||
#endif
|
||||
|
||||
|
||||
@@ -168,7 +168,6 @@ namespace hex {
|
||||
ImHexApi::System::impl::setNativeScale(currScaleFactor);
|
||||
|
||||
ThemeManager::reapplyCurrentTheme();
|
||||
ImGui::GetStyle().ScaleAllSizes(currScaleFactor / prevScaleFactor);
|
||||
}
|
||||
|
||||
prevScaleFactor = currScaleFactor;
|
||||
|
||||
Reference in New Issue
Block a user