mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
[WIP] Multiple story upload
This commit is contained in:
@@ -566,6 +566,14 @@ public final class DrawingEntitiesView: UIView, TGPhotoDrawingEntitiesView {
|
||||
self.hasSelectionChanged(false)
|
||||
}
|
||||
|
||||
public func clearAll() {
|
||||
for case let view as DrawingEntityView in self.subviews {
|
||||
view.reset()
|
||||
view.selectionView?.removeFromSuperview()
|
||||
view.removeFromSuperview()
|
||||
}
|
||||
}
|
||||
|
||||
private func clear(animated: Bool = false) {
|
||||
if animated {
|
||||
for case let view as DrawingEntityView in self.subviews {
|
||||
|
||||
Reference in New Issue
Block a user