aboutsummaryrefslogtreecommitdiff
path: root/Map/Presentation/Base Components/MapRender/MapBackground.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Map/Presentation/Base Components/MapRender/MapBackground.swift')
-rw-r--r--Map/Presentation/Base Components/MapRender/MapBackground.swift11
1 files changed, 5 insertions, 6 deletions
diff --git a/Map/Presentation/Base Components/MapRender/MapBackground.swift b/Map/Presentation/Base Components/MapRender/MapBackground.swift
index b33e791..710d549 100644
--- a/Map/Presentation/Base Components/MapRender/MapBackground.swift
+++ b/Map/Presentation/Base Components/MapRender/MapBackground.swift
@@ -14,14 +14,13 @@
// along with this program. If not, see https://map.tranquil.systems.
import Patterns
import SwiftUI
+import WmapParser
struct MapBackground: View {
let mapSize: CGSize
- let lineWidth: CGFloat
- let stages: [CGFloat]
- let opacity = 0.1
-
+ let stages: [Double]
+
var body: some View {
ZStack(alignment: .topLeading) {
PatternView(
@@ -57,6 +56,6 @@ struct MapBackground: View {
#Preview {
MapBackground(
- mapSize: CGSize(width: 200.0, height: 200.0), lineWidth: CGFloat(0.5),
- stages: [25.0, 50.0, 75.0])
+ mapSize: CGSize(width: 200.0, height: 200.0),
+ stages: [])
}