mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Drawing improvements
This commit is contained in:
@@ -201,6 +201,9 @@ public final class DrawingEntitiesView: UIView, TGPhotoDrawingEntitiesView {
|
||||
|
||||
var entitiesData: Data? {
|
||||
let entities = self.entities
|
||||
guard !entities.isEmpty else {
|
||||
return nil
|
||||
}
|
||||
for entity in entities {
|
||||
entity.prepareForRender()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user