mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
Fix can't click and drag to select text in the Debugger "Watch" pane
#63302
This commit is contained in:
parent
869e960b45
commit
bea83357a6
|
@ -353,7 +353,7 @@ class WatchExpressionsDragAndDrop extends DefaultDragAndDrop {
|
|||
}
|
||||
|
||||
public getDragURI(tree: ITree, element: Expression): string {
|
||||
if (!(element instanceof Expression)) {
|
||||
if (!(element instanceof Expression) || element === this.debugService.getViewModel().getSelectedExpression()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue