WIP on master

This commit is contained in:
Tamius Han 2024-12-31 03:15:10 +01:00
parent 14e1d6aad3
commit 276a51b8c3

View File

@ -754,6 +754,7 @@ export class Aard {
const segmentPixels = width * edgePosition;
const edgeSegmentSize = segmentPixels * 4;
// check the top
{
// no use in doing guardline tests if guardline hasn't been measured yet, or if
@ -764,6 +765,7 @@ export class Aard {
const secondSegment = rowEnd - edgeSegmentSize;
let i = rowStart;
while (i < firstSegment) {
if (
imageData[i] > this.testResults.blackThreshold
@ -1836,7 +1838,6 @@ export class Aard {
const compensatedWidth = fileAr === canvasAr ? this.canvasStore.main.width : this.canvasStore.main.width * fileAr;
// console.log(`
// ———— ASPECT RATIO CALCULATION: —————