This commit is contained in:
BeniBenj 2024-01-31 16:53:12 +01:00
parent e2b6dd7835
commit f664e0c810
No known key found for this signature in database
GPG key ID: 88390C5F13A9A253

View file

@ -1025,8 +1025,6 @@ export class MultiEditorTabsControl extends EditorTabsControl {
// Apply some datatransfer types to allow for dragging the element outside of the application
this.doFillResourceDataTransfers([editor], e, isNewWindowOperation);
// Fixes https://github.com/microsoft/vscode/issues/18733
this.updateDropFeedback(tab, true, e, tabIndex);
scheduleAtNextAnimationFrame(getWindow(this.parent), () => this.updateDropFeedback(tab, false, e, tabIndex));
},
@ -1064,9 +1062,7 @@ export class MultiEditorTabsControl extends EditorTabsControl {
}
}
if (e.dataTransfer?.dropEffect !== 'none') {
this.updateDropFeedback(tab, true, e, tabIndex);
}
this.updateDropFeedback(tab, true, e, tabIndex);
},
onDragEnd: async e => {