From a1a485f16e0f1720f2dcdf7ab03d52c29fe9e252 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Mon, 7 Jul 2025 13:46:01 +0200 Subject: Show custom fonts --- Map/Presentation/Base Components/MapRender/MapAxes.swift | 9 +++++---- Map/Presentation/Base Components/MapRender/MapMask.swift | 3 ++- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'Map/Presentation/Base Components') diff --git a/Map/Presentation/Base Components/MapRender/MapAxes.swift b/Map/Presentation/Base Components/MapRender/MapAxes.swift index d9fe189..9d0f43f 100644 --- a/Map/Presentation/Base Components/MapRender/MapAxes.swift +++ b/Map/Presentation/Base Components/MapRender/MapAxes.swift @@ -38,14 +38,15 @@ struct MapAxes: View { // Y Labels Text("map.axis.y.top").font(.Theme.Map.axisLabel).foregroundColor(.Theme.Map.labelColor) .rotationEffect( - Angle(degrees: -90.0) + Angle(degrees: -90.0), anchor: .topLeading ) - .offset(CGSize(width: -35.0, height: 0.0)) + .offset(CGSize(width: -20.0, height: 45)) + Text("map.axis.y.bottom").font(.Theme.Map.axisLabel).foregroundColor(.Theme.Map.labelColor) .rotationEffect( - Angle(degrees: -90.0) + Angle(degrees: -90.0), anchor: .topLeading ) - .offset(CGSize(width: -40.0, height: mapSize.height - 20)) + .offset(CGSize(width: -20.0, height: mapSize.height)) // X Labels diff --git a/Map/Presentation/Base Components/MapRender/MapMask.swift b/Map/Presentation/Base Components/MapRender/MapMask.swift index 807310c..2c064b3 100644 --- a/Map/Presentation/Base Components/MapRender/MapMask.swift +++ b/Map/Presentation/Base Components/MapRender/MapMask.swift @@ -37,7 +37,8 @@ struct MapMask: View { .offset( CGSize( width: w(vertex.position.x) + vertexSize.width + padding, - height: h(vertex.position.y) + 7.0)) + height: h(vertex.position.y) + 7.0) + ) .blendMode(.destinationOut) }.zIndex(1) } -- cgit