Skip to content

Commit

Permalink
Reinstall sash listener after view swap
Browse files Browse the repository at this point in the history
Fixes #122431
  • Loading branch information
Tyriar committed Apr 28, 2021
1 parent 85ed0a5 commit a9ad5d9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ export class TerminalTabbedView extends Disposable {
this._terminalContainerIndex = this._terminalService.configHelper.config.tabs.location === 'left' ? 1 : 0;
if (this._shouldShowTabs()) {
this._splitView.swapViews(0, 1);
this._removeSashListener();
this._addSashListener();
this._splitView.resizeView(this._tabTreeIndex, this._getLastWidgetWidth());
}
}
Expand Down

0 comments on commit a9ad5d9

Please sign in to comment.