diff --git a/src/js/game/hud/parts/puzzle_editor_settings.js b/src/js/game/hud/parts/puzzle_editor_settings.js index 97292f62..bcd2c85c 100644 --- a/src/js/game/hud/parts/puzzle_editor_settings.js +++ b/src/js/game/hud/parts/puzzle_editor_settings.js @@ -45,11 +45,11 @@ export class HUDPuzzleEditorSettings extends BaseHUDPart {
- +
- +
` @@ -60,8 +60,8 @@ export class HUDPuzzleEditorSettings extends BaseHUDPart { bind(".zoneHeight .minus", () => this.modifyZone(0, -1)); bind(".zoneHeight .plus", () => this.modifyZone(0, 1)); bind("button.trim", this.trim); - bind("button.items", this.clearItems); - bind("button.buildings", this.clearBuildings); + bind("button.clearItems", this.clearItems); + bind("button.clearBuildings", this.clearBuildings); } } diff --git a/src/js/game/hud/parts/puzzle_play_settings.js b/src/js/game/hud/parts/puzzle_play_settings.js index 1f149313..88034f72 100644 --- a/src/js/game/hud/parts/puzzle_play_settings.js +++ b/src/js/game/hud/parts/puzzle_play_settings.js @@ -20,14 +20,14 @@ export class HUDPuzzlePlaySettings extends BaseHUDPart { null, ["section"], ` - - + + ` ); - bind("button.items", this.clearItems); - bind("button.buildings", this.clearBuildings); + bind("button.clearItems", this.clearItems); + bind("button.clearBuildings", this.clearBuildings); } } diff --git a/translations/base-en.yaml b/translations/base-en.yaml index 80a6deb1..bf5a1890 100644 --- a/translations/base-en.yaml +++ b/translations/base-en.yaml @@ -632,6 +632,7 @@ ingame: zoneHeight: Height trimZone: Trim clearItems: Clear Items + clearBuildings: Clear Buildings share: Share report: Report