diff --git a/ea-scripts/Grid Selected Images.md b/ea-scripts/Grid Selected Images.md index d858f58..afc7ba7 100644 --- a/ea-scripts/Grid Selected Images.md +++ b/ea-scripts/Grid Selected Images.md @@ -29,7 +29,7 @@ try { elHeight /= 1.1; } } else if (elWidth * elHeight < areaAvailable) { - while (elWidth * elHeight > areaAvailable) { + while (elWidth * elHeight < areaAvailable) { elWidth *= 1.1; elHeight *= 1.1; } @@ -64,4 +64,4 @@ try { ea.addElementsToView(false, true, true); } catch (err) { _ = new Notice(err.toString()) -} \ No newline at end of file +}