fix: Undo invalid scaling

This commit is contained in:
WerWolv
2025-08-24 13:31:45 +02:00
parent 013fa85c1c
commit d0f51d0462

View File

@@ -109,10 +109,8 @@ namespace hex::plugin::builtin {
ImHexApi::System::impl::setGlobalScale(interfaceScaling);
});
EventImHexStartupFinished::subscribe([] {
const auto nativeScale = ImHexApi::System::getNativeScale();
EventDPIChanged::post(nativeScale, nativeScale);
});
const auto nativeScale = ImHexApi::System::getNativeScale();
EventDPIChanged::post(nativeScale, nativeScale);
return true;
}