zed/crates/gpui2
Marshall Bowers 54eb452144
Only apply scroll correction in uniform_list when already scrolled (#3687)
This PR fixes an issue where the scroll correction added to the uniform
list in a35fdf45fc was being applied even
if the list wasn't scrolled at all.

This manifested in the project panel starting with an incorrect scroll
offset that would disappear once scrolled.

It seems like we should only need to apply this scroll correction when
the list is already scrolled.

Release Notes:

- N/A
2023-12-15 17:53:10 -05:00
..
docs
src Only apply scroll correction in uniform_list when already scrolled (#3687) 2023-12-15 17:53:10 -05:00
tests
build.rs
Cargo.toml