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
4 changed files with 212 additions and 35 deletions
@@ -286,6 +286,7 @@ pub(crate) fn new_debugger_pane(
&new_pane,
item_id_to_move,
new_pane.read(cx).active_item_index(),
true,
window,
cx,
);