From b99929063cd1c85451f785ef419fedd1bcd29b62 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Tue, 11 May 2021 22:43:27 +0200 Subject: [PATCH] Restore aspect ratio if offsets fail verification --- src/ext/lib/video-data/VideoData.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ext/lib/video-data/VideoData.ts b/src/ext/lib/video-data/VideoData.ts index 116f355..8b4cf22 100644 --- a/src/ext/lib/video-data/VideoData.ts +++ b/src/ext/lib/video-data/VideoData.ts @@ -486,6 +486,7 @@ class VideoData { && this.isWithin(vw, (pw - (translateX * 2)), 2)) { } else { this.player.forceDetectPlayerElementChange(); + this.restoreAr(); } } catch(e) {