mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Theme fixes
This commit is contained in:
@@ -535,7 +535,12 @@ final class UndoOverlayControllerNode: ViewControllerTracingNode {
|
||||
self.checkTimer()
|
||||
}
|
||||
|
||||
var dismissed = false
|
||||
func animateOut(completion: @escaping () -> Void) {
|
||||
guard !self.dismissed else {
|
||||
return
|
||||
}
|
||||
self.dismissed = true
|
||||
self.panelNode.layer.animateAlpha(from: 1.0, to: 0.0, duration: 0.25, delay: 0.0, timingFunction: CAMediaTimingFunctionName.easeOut.rawValue, removeOnCompletion: false, completion: { _ in })
|
||||
self.panelWrapperNode.layer.animateAlpha(from: 1.0, to: 0.0, duration: 0.25, delay: 0.0, timingFunction: CAMediaTimingFunctionName.easeOut.rawValue, removeOnCompletion: false) { _ in
|
||||
completion()
|
||||
|
||||
Reference in New Issue
Block a user