Drawing improvements

This commit is contained in:
Ilya Laktyushin
2022-12-21 14:35:42 +04:00
parent 108073a6b8
commit 1a55c2f626
11 changed files with 597 additions and 767 deletions

View File

@@ -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()
}