mirror of
https://github.com/exyte/Macaw.git
synced 2024-09-21 09:59:10 +03:00
Fix for ellipse locus converting to cgPath
This commit is contained in:
parent
27d07e17a9
commit
cdc7d361b2
@ -152,7 +152,10 @@ class RenderUtils {
|
||||
let path = toBezierPath(transformedLocus.locus)
|
||||
path.apply(transformedLocus.transform.toCG())
|
||||
return path
|
||||
} else if let ellipse = locus as? Ellipse {
|
||||
return MBezierPath(ovalIn: ellipse.bounds().toCG())
|
||||
}
|
||||
|
||||
fatalError("Unsupported locus: \(locus)")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user