Increment of index in one line

This commit is contained in:
david.enrique 2019-06-14 22:33:25 +02:00 committed by Yair Morgenstern
parent 56ff436f94
commit 0ab0f2e7bb

View File

@ -246,8 +246,7 @@ class NewGameScreen: PickerScreen(){
}
}
})
i++
if(i%2==0) {
if(++i%2==0) {
// New row only each two checkboxes
newGameOptionsTable.add(victoryCheckbox)
.left() // Left alignment