Skip to content

Commit

Permalink
fixes #96379
Browse files Browse the repository at this point in the history
  • Loading branch information
sbatten committed Apr 30, 2020
1 parent 7f6f68a commit 3f2e83c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/vs/workbench/browser/parts/compositeBar.ts
Expand Up @@ -231,6 +231,9 @@ export class CompositeBar extends Widget implements ICompositeBar {
onDragLeave: (e: IDraggedCompositeData) => {
toggleClass(parent, 'dragged-over', false);
},
onDragEnd: (e: IDraggedCompositeData) => {
toggleClass(parent, 'dragged-over', false);
},
onDrop: (e: IDraggedCompositeData) => {
const pinnedItems = this.getPinnedComposites();
this.options.dndHandler.drop(e.dragAndDropData, pinnedItems[pinnedItems.length - 1].id, e.eventData, { horizontallyBefore: false, verticallyBefore: false });
Expand Down

0 comments on commit 3f2e83c

Please sign in to comment.