mirror of
https://github.com/microsoft/vscode.git
synced 2026-10-05 15:36:22 +01:00
Fix symbol dnd selection (#235332)
This commit is contained in:
1 parent
8cbf1e89e9
commit
d8980958a4
1 file changed
+1
-1
+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