From 87d0e5327a50b8f05095da06d5b2b3615030734f Mon Sep 17 00:00:00 2001 From: Brian Fertig Date: Sun, 7 Jun 2026 11:38:21 -0600 Subject: [PATCH] More adjustments to Kiitos UI --- public/src/games/kiitos/KiitosGame.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/src/games/kiitos/KiitosGame.js b/public/src/games/kiitos/KiitosGame.js index e617325..e239271 100644 --- a/public/src/games/kiitos/KiitosGame.js +++ b/public/src/games/kiitos/KiitosGame.js @@ -180,7 +180,7 @@ export default class KiitosGame extends Phaser.Scene { this.seatPanels = {}; const ais = this.seats.filter((s) => !s.isHuman); this.seatPanels[ais[0]?.id] = this.buildSeatPanel(ais[0], 180, 350); - this.seatPanels[ais[1]?.id] = this.buildSeatPanel(ais[1], 1740, 620); + this.seatPanels[ais[1]?.id] = this.buildSeatPanel(ais[1], 1740, 350); this.seatPanels[ais[2]?.id] = this.buildSeatPanel(ais[2], 1740, 760); this.seatPanels['player'] = this.buildSeatPanel(this.seats[0], 200, 760); @@ -637,6 +637,7 @@ export default class KiitosGame extends Phaser.Scene { const built = this.logic.center.built; if (this._humanForced) return this._rowStartX + built.length * this._rowStep; if (!built.length) return GAME_WIDTH / 2; + if (insertIndex === built.length) return this._rowStartX + built.length * this._rowStep; return this._rowStartX + (insertIndex - 0.5) * this._rowStep; }