Fix toolbar animation getting stuck partway
This commit is contained in:
parent
33e1f0dca6
commit
b6eef7b317
|
@ -355,7 +355,7 @@ extension BrowserNavigationController: UIScrollViewDelegate {
|
||||||
guard trackingScroll else { return }
|
guard trackingScroll else { return }
|
||||||
trackingScroll = false
|
trackingScroll = false
|
||||||
|
|
||||||
if velocity.y == 0 {
|
if velocity.y == 0 && (toolbarOffset == 0 || toolbarOffset == 1) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue