fix image grid

This commit is contained in:
2020-10-13 16:10:19 +02:00
parent 577e0a3994
commit 55c2acd962
+3 -3
View File
@@ -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]