aboutsummaryrefslogtreecommitdiff
path: root/Map/Presentation/Base Components/MapRender/MapGroup.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Map/Presentation/Base Components/MapRender/MapGroup.swift')
-rw-r--r--Map/Presentation/Base Components/MapRender/MapGroup.swift3
1 files changed, 1 insertions, 2 deletions
diff --git a/Map/Presentation/Base Components/MapRender/MapGroup.swift b/Map/Presentation/Base Components/MapRender/MapGroup.swift
index a5877a8..ca5e954 100644
--- a/Map/Presentation/Base Components/MapRender/MapGroup.swift
+++ b/Map/Presentation/Base Components/MapRender/MapGroup.swift
@@ -22,7 +22,6 @@ struct MapGroup: View {
let group: [Vertex]
let color: Color
- let cornerSize = CGSize(width: 2.0, height: 2.0)
var strokeSize: CGFloat { 1.75 * vertexSize.width }
var hull: [CGPoint] {
@@ -92,6 +91,6 @@ struct MapGroup: View {
Vertex(id: 0, label: "A Circle", position: CGPoint(x: 50.0, y: 50.0)),
Vertex(id: 1, label: "A Square", position: CGPoint(x: 10.0, y: 20.0), shape: .square),
Vertex(id: 2, label: "A triangle", position: CGPoint(x: 25, y: 32.0), shape: .triangle),
- Vertex(id: 3, label: "An X", position: CGPoint(x: 70.0, y: 70.0), shape: .x),
+ Vertex(id: 3, label: "An X", position: CGPoint(x: 70.0, y: 70.0), shape: .xMark),
], color: .red)
}