ZIm/crates/project_panel/src
Smit Barmase 6e4f747041
project_panel: Fix autoscroll to treat entries behind sticky items as out of viewport (#35067)
Closes #34831

Autoscroll centers items only if they’re out of viewport. Before this
PR, entry behind sticky items was not considered out of viewport, and
hence actions like `reveal in project panel` or focusing buffer would
not autoscroll that entry into the view in that case.

This PR fixes that by using recently added `scroll_to_item_with_offset`
in https://github.com/zed-industries/zed/pull/35064.

Release Notes:

- Fixed issue where `pane: reveal in project panel` action was not
working if the entry was behind sticky items.
2025-07-25 06:21:38 +05:30
..
project_panel.rs project_panel: Fix autoscroll to treat entries behind sticky items as out of viewport (#35067) 2025-07-25 06:21:38 +05:30
project_panel_settings.rs project_panel: Add Sticky Scroll (#33994) 2025-07-07 08:32:42 +05:30
project_panel_tests.rs Remove separator! macro and make path! handle relative paths (#32527) 2025-06-13 06:32:29 +00:00
utils.rs Add Project Panel navigation actions in netrw mode (#20941) 2024-12-05 14:07:13 +01:00