]> git.r.bdr.sh - rbdr/patterns/blobdiff - Sources/Patterns/PatternPicker.swift
Make the properties public
[rbdr/patterns] / Sources / Patterns / PatternPicker.swift
index 1f7d17bab8fe00a369a5241fdc06806b43322158..3f550e528371fb7ad605c66867e1c4416030c677 100644 (file)
@@ -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