diff options
Diffstat (limited to 'Sources/Patterns/PatternPicker.swift')
| -rw-r--r-- | Sources/Patterns/PatternPicker.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Sources/Patterns/PatternPicker.swift b/Sources/Patterns/PatternPicker.swift index 32c9f39..46b7ef2 100644 --- a/Sources/Patterns/PatternPicker.swift +++ b/Sources/Patterns/PatternPicker.swift @@ -26,7 +26,7 @@ public struct PatternPicker: View { HStack(alignment: .top, spacing: 0) { ForEach(0 ..< 5) { j in if i * 5 + j < patterns.count { - PatternView(design: .constant(patterns[i * 5 + j]), pixelSize: pixelSize, foregroundColor: foregroundColor, backgroundColor: backgroundColor) + PatternView(design: patterns[i * 5 + j], pixelSize: pixelSize, foregroundColor: foregroundColor, backgroundColor: backgroundColor) .frame(width: pixelSize * 16, height: pixelSize * 12) .border(selectedDesign == patterns[i * 5 + j] ? selectedColor : foregroundColor, width: pixelSize / 2.0) .onTapGesture(perform: { |