mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Previously, removing the last pane item also ruined our ability to determine if the pane had focus. Now, if we're removing the last item, we instead just go ahead and remove the entire pane. Remove contains logic to switch focus to the next pane if its active view is focused, which works as intended if we leave the active view in place.