mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
Fix symbol dnd selection (#235332)
This commit is contained in:
+1
-1
@@ -306,7 +306,7 @@ export function hookUpSymbolAttachmentDragAndContextMenu(accessor: ServicesAcces
|
||||
// Drag and drop
|
||||
widget.draggable = true;
|
||||
store.add(dom.addDisposableListener(widget, 'dragstart', e => {
|
||||
instantiationService.invokeFunction(accessor => fillEditorsDragData(accessor, [attachment.value.uri], e));
|
||||
instantiationService.invokeFunction(accessor => fillEditorsDragData(accessor, [{ resource: attachment.value.uri, selection: attachment.value.range }], e));
|
||||
|
||||
fillInSymbolsDragData([{
|
||||
fsPath: attachment.value.uri.fsPath,
|
||||
|
||||
Reference in New Issue
Block a user