mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Various improvements
This commit is contained in:
@@ -772,6 +772,9 @@ final class CaptureControlsComponent: Component {
|
||||
self.component?.swipeHintUpdated(.flip)
|
||||
if location.x > self.frame.width / 2.0 + 60.0 {
|
||||
self.panBlobState = .transientToFlip
|
||||
if self.didFlip && location.x < self.frame.width - 100.0 {
|
||||
self.didFlip = false
|
||||
}
|
||||
if !self.didFlip && location.x > self.frame.width - 70.0 {
|
||||
self.didFlip = true
|
||||
self.hapticFeedback.impact(.light)
|
||||
|
||||
Reference in New Issue
Block a user