Fix double zoom bug in Big Picture Mode display scaling

Removed unconditional CSS zoom call that was causing zoom to be applied
twice (Electron zoom + CSS zoom), resulting in squared scaling values.
Now correctly uses Electron zoom as primary with CSS as fallback only.
This commit is contained in:
2026-01-18 12:16:35 +13:00
parent 52a4d877a1
commit 00fccfdc1b
-1
View File
@@ -196,7 +196,6 @@ function applyDisplayScale(scalePercent, reason = 'unknown') {
} else { } else {
applyCssZoom(zoomFactor); applyCssZoom(zoomFactor);
} }
applyCssZoom(zoomFactor);
console.log(`[BigPicture] Applied display scale ${clampedPercent}% (zoom=${zoomFactor}) via ${reason}`); console.log(`[BigPicture] Applied display scale ${clampedPercent}% (zoom=${zoomFactor}) via ${reason}`);
} catch (err) { } catch (err) {
console.warn('[BigPicture] Failed applying display scale:', err); console.warn('[BigPicture] Failed applying display scale:', err);