web: Render at higher resolution

This commit is contained in:
WerWolv
2025-12-30 19:38:38 +01:00
parent a628784c6d
commit 5cec83b3ef

View File

@@ -159,7 +159,7 @@ namespace hex {
} catch (e) {
return 1.0;
}
}) / ImHexApi::System::getBackingScaleFactor();
});
if (prevScaleFactor != 0 && prevScaleFactor != currScaleFactor) {
EventDPIChanged::post(prevScaleFactor, currScaleFactor);
resizeCanvas();