Various improvements

This commit is contained in:
Ilya Laktyushin
2023-11-25 14:10:36 +04:00
parent 3aaa0ad17b
commit 9cd6344b53
84 changed files with 3895 additions and 3057 deletions

View File

@@ -81,6 +81,7 @@ public final class DrawingEntitiesView: UIView, TGPhotoDrawingEntitiesView {
var entityAdded: (DrawingEntity) -> Void = { _ in }
var entityRemoved: (DrawingEntity) -> Void = { _ in }
public var externalEntityRemoved: (DrawingEntity) -> Void = { _ in }
var autoSelectEntities = false
@@ -517,6 +518,7 @@ public final class DrawingEntitiesView: UIView, TGPhotoDrawingEntitiesView {
if announce {
self.entityRemoved(view.entity)
self.externalEntityRemoved(view.entity)
}
}
}