Panghu
|
fd39f20842
|
Prevent folder expansion when all items are closed (#12729)
Release Notes:
- Prevent folder expansion when all items are closed
### Problem
When all items are closed, the next activated file expands (see the
video below).
https://github.com/zed-industries/zed/assets/21101490/a7631cd2-4e97-4954-8b01-d283dd4796be
### Cause
When the currently active item is closed, Zed tries to activate the
previously active item. Activating an item by default expands the
corresponding folder, which can result in folders being expanded when
all files are closed.
### Fixed Video
https://github.com/zed-industries/zed/assets/21101490/d30f05c5-6d86-4e11-b349-337fa75586f3
|
2024-06-06 17:32:58 +02:00 |
|