[WIP] Stickers editor

This commit is contained in:
Ilya Laktyushin
2024-04-10 19:40:10 +04:00
parent 094341b520
commit 78a30245e7
3 changed files with 66 additions and 68 deletions

View File

@@ -226,11 +226,8 @@ private final class MediaCutoutScreenComponent: Component {
}
controller.drawingView.isUserInteractionEnabled = false
let overlayView = controller.overlayView
let backgroundView = controller.backgroundView
let transition = Transition(animation: .curve(duration: 0.2, curve: .easeInOut))
transition.setAlpha(view: overlayView, alpha: 0.0)
transition.setAlpha(view: backgroundView, alpha: 1.0)
controller.overlayView.alpha = 0.0
controller.backgroundView.alpha = 1.0
}
public func playDissolveAnimation() {