This commit is contained in:
Tamius Han 2025-04-10 00:46:44 +02:00
parent 7d71dd0507
commit a0abf336cf

View File

@ -1984,7 +1984,7 @@ export class Aard {
const fileAr = this.video.videoWidth / this.video.videoHeight; const fileAr = this.video.videoWidth / this.video.videoHeight;
const canvasAr = this.canvasStore.main.width / this.canvasStore.main.height; 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(` // console.log(`
// ———— ASPECT RATIO CALCULATION: ————— // ———— ASPECT RATIO CALCULATION: —————