From 55c2acd962ef91ed7e9059f6bf8c258872e4bef4 Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Tue, 13 Oct 2020 16:10:19 +0200 Subject: [PATCH] fix image grid --- src/store/modules/project.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/store/modules/project.js b/src/store/modules/project.js index f9586c9..fbd547e 100644 --- a/src/store/modules/project.js +++ b/src/store/modules/project.js @@ -180,11 +180,11 @@ export default { let cols = state.wall.nbrWinZ / state.contents_size_factor let t for (var m = 0; m < rows; m++) { // rows - if (m > rows / 4 * 3) { + if (m > rows / 4 * 3 + 1) { t = state.contentTypes[0] - } else if (m > rows / 4 * 2) { + } else if (m > rows / 4 * 2 + 1) { t = state.contentTypes[1] - } else if (m > rows / 4) { + } else if (m > rows / 4 + 1) { t = state.contentTypes[2] } else { t = state.contentTypes[3]