Skip to content

Commit

Permalink
Tab does not always gets revealed when activating it via keyboard (fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bpasero committed Jul 4, 2016
1 parent 3d2ece9 commit 4a4c9ee
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/vs/workbench/browser/parts/editor/tabsTitleControl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,11 @@ export class TabsTitleControl extends TitleControl {
if (handled) {
DOM.EventHelper.stop(e, true);
}

// moving in the tabs container can have an impact on scrolling position, so we need to update the custom scrollbar
this.scrollbar.updateState({
scrollLeft: this.tabsContainer.scrollLeft
});
}));

// Pin on double click
Expand Down

0 comments on commit 4a4c9ee

Please sign in to comment.