web: Fix flickering on resize

This commit is contained in:
WerWolv
2026-01-08 21:45:36 +01:00
parent e80f7fa14f
commit 3cc0b9294e

View File

@@ -281,8 +281,6 @@ function js_resizeCanvas() {
canvas.style.width = width + "px";
canvas.style.height = height + "px";
canvas.width = width * window.devicePixelRatio;
canvas.height = height * window.devicePixelRatio;
}
// Prevent some default browser shortcuts from preventing ImHex ones to work