Skip to content

Commit 5c6fa43

Browse files
committed
Remove HeaderView animation when dismissasl
1 parent 5108f36 commit 5c6fa43

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Source/Library/LightboxTransition.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ class LightboxTransition: UIPercentDrivenInteractiveTransition {
2828
func transition(_ show: Bool) {
2929
guard let controller = lightboxController else { return }
3030

31-
controller.headerView.transform = show
32-
? CGAffineTransform.identity
33-
: CGAffineTransform(translationX: 0, y: -200)
34-
3531
if interactive {
3632
controller.view.backgroundColor = UIColor.black.withAlphaComponent(show ? 1 : 0)
3733
} else {

0 commit comments

Comments
 (0)