mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-15 21:45:19 +00:00
Fix image corner radius
This commit is contained in:
parent
d39d33f851
commit
84bff91916
@ -2759,7 +2759,7 @@ public final class MediaEditorScreen: ViewController, UIDropInteractionDelegate
|
||||
|
||||
return newImage
|
||||
}
|
||||
let updatedImage = roundedImageWithTransparentCorners(image: image, cornerRadius: 180.0)!
|
||||
let updatedImage = roundedImageWithTransparentCorners(image: image, cornerRadius: floor(image.size.width * 0.03))!
|
||||
self.interaction?.insertEntity(DrawingStickerEntity(content: .image(updatedImage, .rectangle)), scale: 2.5)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user