diff options
| author | Ruben Beltran del Rio <jj@r.bdr.sh> | 2025-12-15 00:11:21 +0100 |
|---|---|---|
| committer | Ruben Beltran del Rio <jj@r.bdr.sh> | 2025-12-15 00:19:39 +0100 |
| commit | fa681bfcf5cbfcc711fb0ab10f3fd74ac83bf18c (patch) | |
| tree | 2dce2e95bab08f773246b450ac50227f8e8f57da /Map/Presentation/Base Components/MapRender/MapVertices.swift | |
| parent | 0d5e6636405dbe332c33c0fb82c7ccccb20f96cb (diff) | |
Apply formatting rules
Diffstat (limited to 'Map/Presentation/Base Components/MapRender/MapVertices.swift')
| -rw-r--r-- | Map/Presentation/Base Components/MapRender/MapVertices.swift | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Map/Presentation/Base Components/MapRender/MapVertices.swift b/Map/Presentation/Base Components/MapRender/MapVertices.swift index a3558fa..0ab7fab 100644 --- a/Map/Presentation/Base Components/MapRender/MapVertices.swift +++ b/Map/Presentation/Base Components/MapRender/MapVertices.swift @@ -23,7 +23,7 @@ struct MapVertices: View { let padding = CGFloat(5.0) @State private var offset = CGSize.zero - @State private var draggingVertex: Vertex? = nil + @State private var draggingVertex: Vertex? var onDragVertex: (Vertex, CGFloat, CGFloat) -> Void = { _, _, _ in } @@ -156,7 +156,7 @@ struct MapVertices: 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: .xMark), + Vertex(id: 3, label: "An X", position: CGPoint(x: 70.0, y: 70.0), shape: .xMark) ], labelPositions: [:]) } |