Respond to CR.

pull/2/head
Matthew Chen 6 years ago
parent cc20182ec0
commit ac1e89ce1d

@ -205,11 +205,11 @@ public extension CGRect {
} }
public var topRight: CGPoint { public var topRight: CGPoint {
return CGPoint(x: maxX, y: 0) return CGPoint(x: maxX, y: minY)
} }
public var bottomLeft: CGPoint { public var bottomLeft: CGPoint {
return CGPoint(x: 0, y: maxY) return CGPoint(x: minX, y: maxY)
} }
public var bottomRight: CGPoint { public var bottomRight: CGPoint {

Loading…
Cancel
Save