Camera and editor improvements

This commit is contained in:
Ilya Laktyushin
2023-06-11 19:44:08 +04:00
parent 82a59e4e60
commit 137e234310
4 changed files with 16 additions and 9 deletions

View File

@@ -878,6 +878,7 @@ public class CameraScreen: ViewController {
self.effectivePreviewView.addGestureRecognizer(pinchGestureRecognizer)
let panGestureRecognizer = UIPanGestureRecognizer(target: self, action: #selector(self.handlePan(_:)))
panGestureRecognizer.maximumNumberOfTouches = 1
self.effectivePreviewView.addGestureRecognizer(panGestureRecognizer)
let tapGestureRecognizer = UITapGestureRecognizer(target: self, action: #selector(self.handleTap(_:)))