diff --git a/lib/libimhex/source/api/imhex_api.cpp b/lib/libimhex/source/api/imhex_api.cpp index 14de88af6..74595bbf2 100644 --- a/lib/libimhex/source/api/imhex_api.cpp +++ b/lib/libimhex/source/api/imhex_api.cpp @@ -622,9 +622,12 @@ namespace hex { #elif defined(OS_LINUX) return 1.0F; #elif defined(OS_WEB) + return 1.0F; + /* return EM_ASM_INT({ return window.devicePixelRatio; }); + */ #else return 1.0F; #endif