Story collage improvements

This commit is contained in:
Ilya Laktyushin
2024-11-30 04:06:13 +04:00
parent 685ed2cc9e
commit 7dd7a6ba69
4 changed files with 31 additions and 11 deletions

View File

@@ -999,14 +999,22 @@ final class CaptureControlsComponent: Component {
func animateInFromEditor(transition: ComponentTransition) {
self.animatedOut = false
guard let component = self.component else {
return
}
if let view = self.galleryButtonView.view {
transition.setScale(view: view, scale: 1.0)
transition.setAlpha(view: view, alpha: 1.0)
if !component.hideControls {
transition.setAlpha(view: view, alpha: 1.0)
}
}
if let view = self.flipButtonView.view {
transition.setScale(view: view, scale: 1.0)
transition.setAlpha(view: view, alpha: 1.0)
if !component.hideControls {
transition.setAlpha(view: view, alpha: 1.0)
}
}
if let view = self.shutterButtonView.view {