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:
parent
238c744e93
commit
731937bb82
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue