diff --git a/frontend/js/pane-manager.js b/frontend/js/pane-manager.js index 2439e41..ade3be5 100644 --- a/frontend/js/pane-manager.js +++ b/frontend/js/pane-manager.js @@ -692,8 +692,6 @@ const PaneManager = { this.layout = 'horizontal'; if (this.panes.length === 0) { this._buildGrid(2); - // Copy active tab to the new pane - this._copyActiveTabToNewPane(); } else { this._addPane(); } @@ -706,7 +704,6 @@ const PaneManager = { this.layout = 'vertical'; if (this.panes.length === 0) { this._buildGrid(2); - this._copyActiveTabToNewPane(); } else { this._addPane(); } @@ -1362,14 +1359,6 @@ if (typeof window !== 'undefined') { e.preventDefault(); if (PaneManager._hasAnyTab()) { PaneManager.splitRight(); - // Transfer active tab to new pane - const tm = PaneManager.getActiveTabManager(); - if (tm && tm._activeTabId) { - setTimeout(() => { - const newPaneId = PaneManager.panes.length - 1; - PaneManager.transferTab(PaneManager.activePaneId === newPaneId ? 0 : PaneManager.activePaneId, tm._activeTabId, newPaneId); - }, 200); - } } } if (e.ctrlKey && e.altKey && e.shiftKey && e.key === '\\') {