From ba4ee0edf2aba19ad73fa53cb01dd0fb9b527526 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Fri, 28 Apr 2023 22:23:36 +0200 Subject: Use CoreGraphics to draw instead of SwifTUI --- Sources/Patterns/TileDesign.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Sources/Patterns/TileDesign.swift') diff --git a/Sources/Patterns/TileDesign.swift b/Sources/Patterns/TileDesign.swift index 5541102..84a8b00 100644 --- a/Sources/Patterns/TileDesign.swift +++ b/Sources/Patterns/TileDesign.swift @@ -13,7 +13,7 @@ public enum TileDesign: CaseIterable { case rhombus case balls - func pixels() -> [Int] { + func pixels() -> [UInt8] { switch self { case .grid: return [ -- cgit