More adjustments to Kiitos UI

This commit is contained in:
Brian Fertig 2026-06-07 11:38:21 -06:00
parent cca6f54fa6
commit 87d0e5327a
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}