Fix toolbar animation getting stuck partway

This commit is contained in:
Shadowfacts 2020-12-22 21:17:42 -05:00
parent 33e1f0dca6
commit b6eef7b317
1 changed files with 1 additions and 1 deletions

View File

@ -355,7 +355,7 @@ extension BrowserNavigationController: UIScrollViewDelegate {
guard trackingScroll else { return }
trackingScroll = false
if velocity.y == 0 {
if velocity.y == 0 && (toolbarOffset == 0 || toolbarOffset == 1) {
return
}