From 3cc0b9294e4dd4808bbd695680f66244b6165884 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Thu, 8 Jan 2026 21:45:36 +0100 Subject: [PATCH] web: Fix flickering on resize --- dist/web/source/wasm-config.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/dist/web/source/wasm-config.js b/dist/web/source/wasm-config.js index 6007780bd..4377c458c 100644 --- a/dist/web/source/wasm-config.js +++ b/dist/web/source/wasm-config.js @@ -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