We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73f2ac2 commit b4a6597Copy full SHA for b4a6597
src/LiveDevelopment/BrowserScripts/RemoteFunctions.js
@@ -4336,9 +4336,10 @@ function RemoteFunctions(config = {}) {
4336
let scrollLeft = window.pageXOffset;
4337
4338
var edges = {
4339
- left: rect.left + scrollLeft,
+ // 0.8 is to fix pixel diff between ruler and outline (ruler is part of box model but outline is not)
4340
+ left: rect.left + scrollLeft - 0.8,
4341
right: rect.right + scrollLeft,
- top: rect.top + scrollTop,
4342
+ top: rect.top + scrollTop - 0.8,
4343
bottom: rect.bottom + scrollTop
4344
};
4345
0 commit comments