parent
caee7a5789
commit
9755b46bf6
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) });
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue