From 17ef1e699585743bd24baee660ed9ffcca97e198 Mon Sep 17 00:00:00 2001 From: "Z. Cliffe Schreuders" Date: Tue, 28 Oct 2025 16:09:20 +0000 Subject: [PATCH] fix: Adjust container height calculation in key selection UI for improved layout --- js/minigames/lockpicking/lockpicking-game-phaser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/minigames/lockpicking/lockpicking-game-phaser.js b/js/minigames/lockpicking/lockpicking-game-phaser.js index 07c34e6..4256670 100644 --- a/js/minigames/lockpicking/lockpicking-game-phaser.js +++ b/js/minigames/lockpicking/lockpicking-game-phaser.js @@ -546,7 +546,7 @@ export class LockpickingMinigamePhaser extends MinigameScene { // For 3 keys: [button] padding [key1] spacing [key2] spacing [key3] padding [button] const keysWidth = (keysPerPage - 1) * (keyWidth + spacing) + keyWidth; // 3 keys with spacing between them const containerWidth = keysWidth + (keys.length > keysPerPage ? buttonWidth * 2 + buttonSpacing * 2 + padding * 2 : padding * 2); - const containerHeight = keyHeight + labelHeight + spacing + padding * 2 + 50; // +50 for title + const containerHeight = keyHeight + labelHeight + spacing + padding + 10; // +50 for title // Create container for key selection - positioned in the middle but below pins const keySelectionContainer = this.scene.add.container(0, 230);