This commit is contained in:
Tamius Han 2020-09-23 00:19:42 +02:00
parent 02fa4e2fe8
commit b55d9dd7b9

View File

@ -449,7 +449,7 @@ class Resizer {
const hdiff = this.conf.player.dimensions.height - this.conf.video.offsetHeight; const hdiff = this.conf.player.dimensions.height - this.conf.video.offsetHeight;
if (wdiff < 0 && hdiff < 0 && this.zoom.scale > 1) { if (wdiff < 0 && hdiff < 0 && this.zoom.scale > 1) {
this.conf.player.re this.conf.player.restore();
} }
const wdiffAfterZoom = this.conf.video.offsetWidth * stretchFactors.xFactor - this.conf.player.dimensions.width; const wdiffAfterZoom = this.conf.video.offsetWidth * stretchFactors.xFactor - this.conf.player.dimensions.width;