From 77d0155b661e813a85a7312ed809fc7e5a9f7440 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Thu, 4 Feb 2021 23:46:55 +0100 Subject: Release 1.1.0 --- Map/MapRenderComponents/MapAxes.swift | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Map/MapRenderComponents/MapAxes.swift') diff --git a/Map/MapRenderComponents/MapAxes.swift b/Map/MapRenderComponents/MapAxes.swift index e7d65f4..a6e2f87 100644 --- a/Map/MapRenderComponents/MapAxes.swift +++ b/Map/MapRenderComponents/MapAxes.swift @@ -8,7 +8,7 @@ struct MapAxes: View { let lineWidth: CGFloat let evolution: Stage let stages: [CGFloat] - let stageHeight = CGFloat(50.0) + let stageHeight = CGFloat(100.0) let padding = CGFloat(5.0) var color: Color { @@ -40,13 +40,13 @@ struct MapAxes: View { Text("Uncharted") .font(.title3) .foregroundColor(color) - .frame(width: mapSize.width / 4, height: stageHeight, alignment: .topLeading) - .offset(CGSize(width: 0.0, height: -stageHeight / 2.0)) + .frame(width: mapSize.width / 4, height: stageHeight / 2.0, alignment: .topLeading) + .offset(CGSize(width: 0.0, height: -stageHeight / 4.0)) Text("Industrialised") .font(.title3) .foregroundColor(color) - .frame(width: mapSize.width / 4, height: stageHeight, alignment: .topLeading) - .offset(CGSize(width: mapSize.width - 100.0, height: -stageHeight / 2.0)) + .frame(width: mapSize.width / 4, height: stageHeight / 2.0, alignment: .topLeading) + .offset(CGSize(width: mapSize.width - 100.0, height: -stageHeight / 4.0)) Text(evolution.i) .font(.title3) -- cgit