From 6c1e7bbb73ef75beb2984c15e24fa14692e627b2 Mon Sep 17 00:00:00 2001 From: Lukas Gibb Date: Sat, 16 Oct 2021 22:23:43 +1100 Subject: [PATCH] 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. --- src/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.js b/src/config.js index b139dbc77..339499f42 100644 --- a/src/config.js +++ b/src/config.js @@ -65,7 +65,7 @@ const uniqueDnaTorrance = 10000; const preview = { thumbPerRow: 5, thumbWidth: 50, - imageRatio: format.width / format.height, + imageRatio: format.height / format.width, imageName: "preview.png", };