1
1
mirror of https://github.com/exyte/Macaw.git synced 2024-11-13 13:14:20 +03:00

Changed Path bounds

This commit is contained in:
Anton Marunko 2018-06-15 14:31:11 +07:00
parent 55d3c0fbb6
commit f057775b06

View File

@ -13,6 +13,6 @@ open class Path: Locus {
}
override open func bounds() -> Rect {
return pathBounds(self)!
return toCGPath().boundingBoxOfPath.toMacaw()
}
}