diff options
author | Matt Bierner <matb@microsoft.com> | 2022-06-09 02:09:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-09 02:09:36 +0300 |
commit | 23c073031e5fb172a69b566dd33cac9d740981f1 (patch) | |
tree | 93223e679710b47f813b86055ecedc71d9f8655b | |
parent | 0f1679624b0ae9e7ae707ce230aa72cc512320e9 (diff) |
Show drag uis as soon as shift is released (#151569)
Fixes #150995
-rw-r--r-- | src/vs/workbench/browser/parts/editor/editorDropTarget.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vs/workbench/browser/parts/editor/editorDropTarget.ts b/src/vs/workbench/browser/parts/editor/editorDropTarget.ts index b6e9f118b66..af98c5ae2c8 100644 --- a/src/vs/workbench/browser/parts/editor/editorDropTarget.ts +++ b/src/vs/workbench/browser/parts/editor/editorDropTarget.ts @@ -597,6 +597,7 @@ export class EditorDropTarget extends Themable { private registerListeners(): void { this._register(addDisposableListener(this.container, EventType.DRAG_ENTER, e => this.onDragEnter(e))); this._register(addDisposableListener(this.container, EventType.DRAG_LEAVE, () => this.onDragLeave())); + this._register(addDisposableListener(this.container, EventType.DRAG_OVER, e => this.onDragEnter(e))); [this.container, window].forEach(node => this._register(addDisposableListener(node as HTMLElement, EventType.DRAG_END, () => this.onDragEnd()))); } |