Skip to content

Commit

Permalink
Fix iOS conditional compilation code
Browse files Browse the repository at this point in the history
Oops
  • Loading branch information
ShinryakuTako committed Nov 3, 2019
1 parent d9fdfa2 commit 9a68096
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ public final class PointerEventComponent: OctopusComponent, OctopusUpdatableComp

#endif

#if canImport(UIKit)

public init?(firstTouch: UITouch? = nil,
event: UIEvent? = nil,
node: SKNode? = nil)
Expand All @@ -66,7 +68,6 @@ public final class PointerEventComponent: OctopusComponent, OctopusUpdatableComp
self.locationInNode = firstTouch.location(in: node)
}

#if canImport(UIKit)
#endif

public func location(in anotherNode: SKNode) -> CGPoint {
Expand Down

0 comments on commit 9a68096

Please sign in to comment.