refactor(Phase10Game): remove trailing whitespace and align object properties

- Remove trailing whitespace throughout the file.
- Align object properties and ternary operators for improved readability.
- Adjust button positioning offset in staging laydown UI.
This commit is contained in:
Brian Fertig 2026-05-17 14:53:01 -06:00
parent 238c744e93
commit 731937bb82
1 changed files with 61 additions and 61 deletions

View File

@ -1260,7 +1260,7 @@ export default class Phase10Game extends Phaser.Scene {
} }
const panelX = laidStart.x - 14; const panelX = laidStart.x - 14;
const panelW = totalW + 28; const panelW = totalW + 28;
const btnX = panelX + panelW + 160; const btnX = panelX + panelW + 200;
this.submitBtn = new Button(this, btnX, laidStart.y - 18, 'Submit Phase', () => this.submitStagingLaydown(), { this.submitBtn = new Button(this, btnX, laidStart.y - 18, 'Submit Phase', () => this.submitStagingLaydown(), {
width: 200, height: 44, fontSize: 18, width: 200, height: 44, fontSize: 18,
}).setDepth(D.ui); }).setDepth(D.ui);