From fe1dc66b4e68ad100e6cd78162546c1bf4f403e5 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 3 Sep 2025 13:21:54 +0200 Subject: center cancel button --- go/client/game.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/client/game.go b/go/client/game.go index 4805ec80..5ab70df2 100644 --- a/go/client/game.go +++ b/go/client/game.go @@ -125,7 +125,7 @@ func newGame(app *app, gameState game.State) *Game { g.resetButton = ui.NewRoundSimpleButton( 10, - g.Height/2, + g.Height/2+(ui.PROMPT_HEIGHT-DEFAULT_BUTTON_HEIGHT)/2, DEFAULT_BUTTON_HEIGHT, "X", func(*ui.SimpleButton) { -- cgit v1.2.3