Skip to content

Commit

Permalink
[bug] Missing CoreGraphics import for Swift 5.7.1 / Xcode 14.1 (#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregcotten committed Nov 11, 2022
1 parent 56822c9 commit f1cbfcf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Sources/TokamakCore/Shapes/StrokeStyle.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@

import Foundation

#if canImport(CoreGraphics)
import CoreGraphics
#endif

public struct StrokeStyle: Equatable {
public var lineWidth: CGFloat
public var lineCap: CGLineCap
Expand Down

0 comments on commit f1cbfcf

Please sign in to comment.