aboutsummaryrefslogtreecommitdiff
path: root/Sources/Patterns/PatternPicker.swift
diff options
context:
space:
mode:
authorRuben Beltran del Rio <ruben@unlimited.pizza>2023-04-26 17:18:09 +0200
committerRuben Beltran del Rio <ruben@unlimited.pizza>2023-04-26 17:18:09 +0200
commitcd8a7cf4a8dd77e11184202f6b67161383942652 (patch)
tree0f781a27810dbb24759f6a947efc49a3663952ec /Sources/Patterns/PatternPicker.swift
parent1418fe49617f5d35b14b19fe0ead15fcc43526c8 (diff)
Make the properties public
Diffstat (limited to 'Sources/Patterns/PatternPicker.swift')
-rw-r--r--Sources/Patterns/PatternPicker.swift10
1 files changed, 5 insertions, 5 deletions
diff --git a/Sources/Patterns/PatternPicker.swift b/Sources/Patterns/PatternPicker.swift
index 1f7d17b..3f550e5 100644
--- a/Sources/Patterns/PatternPicker.swift
+++ b/Sources/Patterns/PatternPicker.swift
@@ -2,12 +2,12 @@ import SwiftUI
public struct PatternPicker: View {
- @Binding var selectedDesign: TileDesign;
+ @Binding public var selectedDesign: TileDesign;
- var selectedColor: Color = .accentColor
- var pixelSize: CGFloat = 2.0;
- var foregroundColor: Color = .black
- var backgroundColor: Color = .white
+ public var selectedColor: Color = .accentColor
+ public var pixelSize: CGFloat = 2.0;
+ public var foregroundColor: Color = .black
+ public var backgroundColor: Color = .white
let patterns = TileDesign.allCases