mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-27 23:37:05 -05:00
web: Fix flickering on resize
This commit is contained in:
2
dist/web/source/wasm-config.js
vendored
2
dist/web/source/wasm-config.js
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user