Merge commit '352d71a921535ab49386116d1c17da570870ebaa'

This commit is contained in:
Ali
2023-07-16 18:13:55 +04:00

View File

@@ -610,6 +610,9 @@ public final class DrawingEntitiesView: UIView, TGPhotoDrawingEntitiesView {
private func entity(at location: CGPoint) -> DrawingEntityView? {
var intersectedViews: [DrawingEntityView] = []
for case let view as DrawingEntityView in self.subviews {
if view is DrawingMediaEntityView {
continue
}
if view.precisePoint(inside: self.convert(location, to: view)) {
intersectedViews.append(view)
}