Skip to content

Commit 4f21e13

Browse files
committed
Add codefiles to tree dnd internal types
Fixes microsoft#146032
1 parent 14a552f commit 4f21e13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/browser/parts/views/treeView.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1262,7 +1262,7 @@ interface TreeDragSourceInfo {
12621262
itemHandles: string[];
12631263
}
12641264

1265-
const INTERNAL_MIME_TYPES = [CodeDataTransfers.EDITORS.toLowerCase()];
1265+
const INTERNAL_MIME_TYPES = [CodeDataTransfers.EDITORS.toLowerCase(), CodeDataTransfers.FILES.toLowerCase()];
12661266

12671267
export class CustomTreeViewDragAndDrop implements ITreeDragAndDrop<ITreeItem> {
12681268
private readonly treeMimeType: string;

0 commit comments

Comments
 (0)