Fix markers and translation
This commit is contained in:
parent
e040a47195
commit
fd77ba135a
|
@ -39,6 +39,8 @@
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
pointer-events: all;
|
pointer-events: all;
|
||||||
@include S(padding-right, 5px);
|
@include S(padding-right, 5px);
|
||||||
|
@include S(padding-bottom, 5px);
|
||||||
|
@include S(padding-top, 5px);
|
||||||
|
|
||||||
// Scrollbar
|
// Scrollbar
|
||||||
&::-webkit-scrollbar {
|
&::-webkit-scrollbar {
|
||||||
|
|
|
@ -319,9 +319,7 @@ export class HUDWaypoints extends BaseHUDPart {
|
||||||
this.waypoints.push({
|
this.waypoints.push({
|
||||||
label,
|
label,
|
||||||
center: { x: position.x, y: position.y },
|
center: { x: position.x, y: position.y },
|
||||||
// Make sure the zoom is *just* a bit above the zoom level where the map overview
|
zoomLevel: this.root.camera.zoomLevel,
|
||||||
// starts, so you always see all buildings
|
|
||||||
zoomLevel: Math.max(this.root.camera.zoomLevel, globalConfig.mapChunkOverviewMinZoom + 0.05),
|
|
||||||
});
|
});
|
||||||
|
|
||||||
this.sortWaypoints();
|
this.sortWaypoints();
|
||||||
|
|
|
@ -612,7 +612,7 @@ buildings:
|
||||||
display:
|
display:
|
||||||
default:
|
default:
|
||||||
name: &display Display
|
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:
|
reader:
|
||||||
default:
|
default:
|
||||||
|
|
Reference in New Issue