Skip to content

Commit 760957c

Browse files
authored
Merge pull request microsoft#83956 from jeanp413/fix-link-selection-debug-console
Fixes can't drag to select linkified text in the debug console
2 parents dae6c27 + 18f1aea commit 760957c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/contrib/debug/browser/linkDetector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export class LinkDetector {
142142
private decorateLink(link: HTMLElement, onclick: () => void) {
143143
link.classList.add('link');
144144
link.title = platform.isMacintosh ? nls.localize('fileLinkMac', "Cmd + click to follow link") : nls.localize('fileLink', "Ctrl + click to follow link");
145-
link.onmousemove = (event) => link.classList.toggle('pointer', platform.isMacintosh ? event.metaKey : event.ctrlKey);
145+
link.onmousemove = (event) => { link.classList.toggle('pointer', platform.isMacintosh ? event.metaKey : event.ctrlKey); };
146146
link.onmouseleave = () => link.classList.remove('pointer');
147147
link.onclick = (event) => {
148148
const selection = window.getSelection();

0 commit comments

Comments
 (0)