]> git.r.bdr.sh - rbdr/patterns/blobdiff - Sources/Patterns/TileDesign.swift
Use CoreGraphics to draw instead of SwifTUI
[rbdr/patterns] / Sources / Patterns / TileDesign.swift
index 55411029486fb2b9f263a141cb57a1217739ff9f..84a8b00ca7a68355fcea191f4cd5a3cfa754525f 100644 (file)
@@ -13,7 +13,7 @@ public enum TileDesign: CaseIterable {
   case rhombus
   case balls
   
   case rhombus
   case balls
   
-  func pixels() -> [Int] {
+  func pixels() -> [UInt8] {
     switch self {
     case .grid:
       return [
     switch self {
     case .grid:
       return [