mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Camera and editor improvements
This commit is contained in:
@@ -108,6 +108,10 @@ public class CameraSimplePreviewView: UIView {
|
||||
}
|
||||
|> distinctUntilChanged
|
||||
}
|
||||
|
||||
public func cameraPoint(for location: CGPoint) -> CGPoint {
|
||||
return self.videoPreviewLayer.captureDevicePointConverted(fromLayerPoint: location)
|
||||
}
|
||||
}
|
||||
|
||||
public class CameraPreviewView: MTKView {
|
||||
|
||||
Reference in New Issue
Block a user