Disable pre-scrolling in location
May reveal artifacts in translucent navigation bar.
This commit is contained in:
parent
017182fe81
commit
6533a6beae
|
@ -308,14 +308,16 @@ extension ProviderLocationView {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FIXME: layout, pre-scrolling produces plenty of artifacts
|
||||||
|
|
||||||
extension ProviderLocationView {
|
extension ProviderLocationView {
|
||||||
private func scrollToSelectedLocation(_ proxy: ScrollViewProxy) {
|
private func scrollToSelectedLocation(_ proxy: ScrollViewProxy) {
|
||||||
proxy.maybeScrollTo(selectedServer?.locationId)
|
// proxy.maybeScrollTo(selectedServer?.locationId)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
extension ProviderLocationView.ServerListView {
|
extension ProviderLocationView.ServerListView {
|
||||||
private func scrollToSelectedServer(_ proxy: ScrollViewProxy) {
|
private func scrollToSelectedServer(_ proxy: ScrollViewProxy) {
|
||||||
proxy.maybeScrollTo(selectedServer?.id)
|
// proxy.maybeScrollTo(selectedServer?.id)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue