Skip to content

Commit

Permalink
fix DND issue with groups
Browse files Browse the repository at this point in the history
  • Loading branch information
bpasero committed Sep 20, 2016
1 parent d66b0fd commit c49fe7f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ export class NoTabsTitleControl extends TitleControl {
super.create(parent);

this.titleContainer = parent;
DOM.addClass(this.titleContainer, 'show-file-icons');

// Pin on double click
this.toDispose.push(DOM.addDisposableListener(this.titleContainer, DOM.EventType.DBLCLICK, (e: MouseEvent) => this.onTitleDoubleClick(e)));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -783,6 +783,7 @@ export class SideBySideEditorControl implements ISideBySideEditorControl, IVerti
if (useTabs) {
titleContainer.addClass('tabs');
}
titleContainer.addClass('show-file-icons');
this.hookTitleDragListener(titleContainer);

// Title Control
Expand Down
1 change: 0 additions & 1 deletion src/vs/workbench/browser/parts/editor/tabsTitleControl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ export class TabsTitleControl extends TitleControl {
this.tabsContainer = document.createElement('div');
this.tabsContainer.setAttribute('role', 'tablist');
DOM.addClass(this.tabsContainer, 'tabs-container');
DOM.addClass(this.tabsContainer, 'show-file-icons');

// Forward scrolling inside the container to our custom scrollbar
this.toDispose.push(DOM.addDisposableListener(this.tabsContainer, DOM.EventType.SCROLL, e => {
Expand Down

0 comments on commit c49fe7f

Please sign in to comment.