[WIP] Stickers editor

This commit is contained in:
Ilya Laktyushin
2024-04-09 00:50:37 +04:00
parent ff5307a254
commit 70eef8ecac
16 changed files with 204 additions and 81 deletions

View File

@@ -258,7 +258,7 @@ private final class MediaCutoutScreenComponent: Component {
override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
let result = super.hitTest(point, with: event)
if let controller = self.environment?.controller() as? MediaCutoutScreen, [.erase, .restore].contains(controller.mode), result == self.previewContainerView {
return nil//controller.previewView.superview
return nil
}
return result
}