web: Fix canvas being too big

This commit is contained in:
WerWolv
2025-12-30 18:28:26 +01:00
parent 42da24e31d
commit 89dea86b3b
2 changed files with 8 additions and 6 deletions

View File

@@ -513,10 +513,6 @@ namespace hex::init {
if (meanScale <= 0.0F)
meanScale = 1.0F;
#if defined(OS_WEB)
meanScale = 1.0F;
#endif
#if !defined(OS_LINUX)
meanScale /= hex::ImHexApi::System::getBackingScaleFactor();
#endif