workspace: Fix pane focus transfer when closing another pane (#23175)

Closes #23123 

Only close current active_pane should move focus to other pane.

Release Notes:

- N/A
994bea0003CharlesChen0823 committed on 2/10/2025, 9:54:06 AM· committed by GitHubparent6f7f0f3
1 file changedLine totals unavailable