From a0abf336cf9bfdfee24c3972458979d76179a763 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Thu, 10 Apr 2025 00:46:44 +0200 Subject: [PATCH] fix #269 --- src/ext/lib/aard/Aard.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ext/lib/aard/Aard.ts b/src/ext/lib/aard/Aard.ts index 6e4e57f..01e2ea4 100644 --- a/src/ext/lib/aard/Aard.ts +++ b/src/ext/lib/aard/Aard.ts @@ -1984,7 +1984,7 @@ export class Aard { const fileAr = this.video.videoWidth / this.video.videoHeight; const canvasAr = this.canvasStore.main.width / this.canvasStore.main.height; - const compensatedWidth = fileAr === canvasAr ? this.canvasStore.main.width : this.canvasStore.main.width * fileAr; + const compensatedWidth = fileAr === canvasAr ? this.canvasStore.main.width : this.video.videoWidth * this.canvasStore.main.height / (this.video.videoHeight); // console.log(` // ———— ASPECT RATIO CALCULATION: —————