Skip to content

Commit

Permalink
Make hiding speed of bottom drop the same as top (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
maiyama18 authored Oct 18, 2022
1 parent 8638804 commit f4eabe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Animator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ internal final class Animator {
case .top:
view?.transform = CGAffineTransform(translationX: 0, y: -frame.height)
case .bottom:
view?.transform = CGAffineTransform(translationX: 0, y: frame.maxY + frame.height)
view?.transform = CGAffineTransform(translationX: 0, y: frame.height)
}
},
completion: completion
Expand Down

0 comments on commit f4eabe3

Please sign in to comment.