Skip to content

Commit 6c1e7bb

Browse files
authored
Fix bug with orientation of preview
Orientation of preview image tiles was reversed. Didn't matter for square image ratios obviously as width and height were the same.
1 parent 1e3fa1a commit 6c1e7bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const uniqueDnaTorrance = 10000;
6565
const preview = {
6666
thumbPerRow: 5,
6767
thumbWidth: 50,
68-
imageRatio: format.width / format.height,
68+
imageRatio: format.height / format.width,
6969
imageName: "preview.png",
7070
};
7171

0 commit comments

Comments
 (0)