This commit is contained in:
Anuken
2019-03-12 16:37:32 -04:00
parent 47300b42b0
commit 4d4869842e
13 changed files with 743 additions and 713 deletions

View File

@@ -263,8 +263,7 @@ public class MobileInput extends InputHandler implements GestureListener{
//rotate button
table.addImageButton("icon-arrow", "clear-partial", 16 * 2f, () -> rotation = Mathf.mod(rotation + 1, 4))
.update(i -> i.getImage().setRotationOrigin(rotation * 90, Align.center))
.visible(() -> block != null && block.rotate);
.update(i -> i.getImage().setRotationOrigin(rotation * 90, Align.center)).visible(() -> block != null && block.rotate);
//confirm button
table.addImageButton("icon-check", "clear-partial", 16 * 2f, () -> {