From fd77ba135a4683daefcf795e5acd0322304fac63 Mon Sep 17 00:00:00 2001 From: tobspr Date: Wed, 23 Sep 2020 16:24:10 +0200 Subject: [PATCH] Fix markers and translation --- src/css/ingame_hud/waypoints.scss | 2 ++ src/js/game/hud/parts/waypoints.js | 4 +--- translations/base-en.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/css/ingame_hud/waypoints.scss b/src/css/ingame_hud/waypoints.scss index 9232cbb1..d30c5120 100644 --- a/src/css/ingame_hud/waypoints.scss +++ b/src/css/ingame_hud/waypoints.scss @@ -39,6 +39,8 @@ overflow-y: auto; pointer-events: all; @include S(padding-right, 5px); + @include S(padding-bottom, 5px); + @include S(padding-top, 5px); // Scrollbar &::-webkit-scrollbar { diff --git a/src/js/game/hud/parts/waypoints.js b/src/js/game/hud/parts/waypoints.js index 116cd087..a585a4d1 100644 --- a/src/js/game/hud/parts/waypoints.js +++ b/src/js/game/hud/parts/waypoints.js @@ -319,9 +319,7 @@ export class HUDWaypoints extends BaseHUDPart { this.waypoints.push({ label, center: { x: position.x, y: position.y }, - // Make sure the zoom is *just* a bit above the zoom level where the map overview - // starts, so you always see all buildings - zoomLevel: Math.max(this.root.camera.zoomLevel, globalConfig.mapChunkOverviewMinZoom + 0.05), + zoomLevel: this.root.camera.zoomLevel, }); this.sortWaypoints(); diff --git a/translations/base-en.yaml b/translations/base-en.yaml index 7751cc3d..99981618 100644 --- a/translations/base-en.yaml +++ b/translations/base-en.yaml @@ -612,7 +612,7 @@ buildings: display: default: name: &display Display - description: Connect a signal to show it on the display! It can be a shape, color or boolean. + description: Connect a signal to show it on the display - It can be a shape, color or boolean. reader: default: