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 {
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)