From 3affbfcb4033a613dc00f9303d7da5e1d712b229 Mon Sep 17 00:00:00 2001 From: Arnaud Vergnet Date: Mon, 16 Mar 2020 19:29:57 +0100 Subject: [PATCH] Improved buttons position --- screens/Tetris/TetrisScreen.js | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/screens/Tetris/TetrisScreen.js b/screens/Tetris/TetrisScreen.js index c4ac291..ec9af16 100644 --- a/screens/Tetris/TetrisScreen.js +++ b/screens/Tetris/TetrisScreen.js @@ -203,28 +203,33 @@ class TetrisScreen extends React.Component { /> this.logic.rotatePressed(this.updateGrid)} + style={{marginRight: 'auto'}} /> - this.logic.leftPressed(this.updateGrid)} - /> - this.logic.rightPressed(this.updateGrid)} - /> + + this.logic.leftPressed(this.updateGrid)} + /> + this.logic.rightPressed(this.updateGrid)} + /> + this.logic.downPressed(this.updateGridScore)} + style={{marginLeft: 'auto'}} />