**Fix: Increase Monopoly popup dialog height and padding**
Adjust the popup dialog dimensions in MonopolyGame.js to improve content visibility and spacing. Increases maximum height from 620px to 800px and bottom padding from 20px to 48px.
This commit is contained in:
parent
833a214c24
commit
1e153b34ef
|
|
@ -1287,7 +1287,7 @@ export default class MonopolyGame extends Phaser.Scene {
|
|||
];
|
||||
|
||||
const pw = 440, itemH = 48;
|
||||
const ph = Math.min(620, 60 + items.length * (itemH + 8) + 20);
|
||||
const ph = Math.min(800, 60 + items.length * (itemH + 8) + 48);
|
||||
const px = GAME_WIDTH/2 - pw/2, py = GAME_HEIGHT/2 - ph/2;
|
||||
|
||||
const overlay = this.add.graphics().setDepth(DEPTH.popup - 1);
|
||||
|
|
|
|||
Loading…
Reference in New Issue