mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
File diff suppressed because one or more lines are too long
@@ -75,7 +75,7 @@ document.addEventListener('dblclick', event => {
|
||||
const offset = event.pageY;
|
||||
const line = getEditorLineNumberForPageOffset(offset);
|
||||
if (typeof line === 'number' && !isNaN(line)) {
|
||||
postMessage('didClick', { line });
|
||||
postMessage('didClick', { line: Math.floor(line) });
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user