Properly compute depth and path for project panel entries (#19068)
Kirill Bulatov
and
Piotr Osiewicz
created
Closes https://github.com/zed-industries/zed/issues/18939
This fixes incorrect width estimates and horizontal scrollbar glitches
Release Notes:
- Fixes horizontal scrollbar not scrolling enough for certain paths
([#18939](https://github.com/zed-industries/zed/issues/18939))
Co-authored-by: Piotr Osiewicz <piotr@zed.dev>