Do not activate inactive tabs when pinning or unpinning

Closes https://github.com/zed-industries/zed/issues/32024

Release Notes:

- Fixed a bug where inactive tabs would be activated when pinning or
unpinning.
This commit is contained in:
Joseph T. Lyons 2025-06-03 17:43:06 -04:00 committed by GitHub
parent 79b1dd7db8
commit 2db2271e3c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 212 additions and 35 deletions

View file

@ -1062,6 +1062,7 @@ pub fn new_terminal_pane(
&new_pane,
item_id_to_move,
new_pane.read(cx).active_item_index(),
true,
window,
cx,
);