Skip to content

Commit

Permalink
Fix CAEdgeInsets: Equatable
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanPodymov committed Jan 21, 2024
1 parent 7fab5e5 commit 4f34995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/CommonAppleKit/CommonAppleKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ private extension CAImage {
}

extension CAEdgeInsets: Equatable {
public static func == (lhs: NSEdgeInsets, rhs: NSEdgeInsets) -> Bool {
public static func == (lhs: CAEdgeInsets, rhs: CAEdgeInsets) -> Bool {
lhs.bottom == rhs.bottom && lhs.left == rhs.left && lhs.top == rhs.top && lhs.right == rhs.right
}
}

0 comments on commit 4f34995

Please sign in to comment.