aboutsummaryrefslogtreecommitdiff
path: root/Map/Presentation/Base Components/MapRender/MapAxes.swift
diff options
context:
space:
mode:
authorRuben Beltran del Rio <git@r.bdr.sh>2025-07-07 13:46:01 +0200
committerRuben Beltran del Rio <git@r.bdr.sh>2025-07-07 13:46:01 +0200
commita1a485f16e0f1720f2dcdf7ab03d52c29fe9e252 (patch)
treef856e787f18bcb8abcf15a8aa72793cf56630fd2 /Map/Presentation/Base Components/MapRender/MapAxes.swift
parent69f8f7e81ca73ffbf1a0d76ccbd6cf8545caff57 (diff)
Show custom fonts
Diffstat (limited to 'Map/Presentation/Base Components/MapRender/MapAxes.swift')
-rw-r--r--Map/Presentation/Base Components/MapRender/MapAxes.swift9
1 files changed, 5 insertions, 4 deletions
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