1
1
mirror of https://github.com/exyte/Macaw.git synced 2024-09-11 05:05:23 +03:00

Fix OSX build

This commit is contained in:
Yuri Strot 2018-11-02 03:06:58 +07:00
parent 20177d5ae4
commit d7b9a5d8ba

View File

@ -127,7 +127,7 @@ public extension CGAffineTransform {
public extension Node {
public func toNativeImage(size: Size, layout: ContentLayout = .of()) -> UIImage {
public func toNativeImage(size: Size, layout: ContentLayout = .of()) -> MImage {
let renderer = RenderUtils.createNodeRenderer(self, view: nil, animationCache: nil)
let rect = size.rect()