Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/vs
diff options
context:
space:
mode:
authorMatt Bierner <matb@microsoft.com>2022-07-28 06:22:19 +0300
committerGitHub <noreply@github.com>2022-07-28 06:22:19 +0300
commit0e5245ccc780813981650fc7bb3fa854e423b5d1 (patch)
treedd62927582aea8d73ce78e7c091da5e82a849148 /src/vs
parent083728eb874d5b1529db7b7ab29e3cce476c694b (diff)
Revert fix for #150995 (#156516)
Fixes #156352
Diffstat (limited to 'src/vs')
-rw-r--r--src/vs/workbench/browser/parts/editor/editorDropTarget.ts5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/vs/workbench/browser/parts/editor/editorDropTarget.ts b/src/vs/workbench/browser/parts/editor/editorDropTarget.ts
index 947f4475f3b..9e46f90b593 100644
--- a/src/vs/workbench/browser/parts/editor/editorDropTarget.ts
+++ b/src/vs/workbench/browser/parts/editor/editorDropTarget.ts
@@ -597,11 +597,6 @@ 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 => {
- if (!this.overlay) {
- this.onDragEnter(e);
- }
- }));
[this.container, window].forEach(node => this._register(addDisposableListener(node as HTMLElement, EventType.DRAG_END, () => this.onDragEnd())));
}