File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/LiveDevelopment/BrowserScripts Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4383,10 +4383,10 @@ function RemoteFunctions(config = {}) {
43834383 const y1 = Math . floor ( edges . top + 1 ) ;
43844384 const y2 = y1 + rect . height ;
43854385
4386- this . labelElements . left . textContent = x1 + "px" ;
4387- this . labelElements . right . textContent = x2 + "px" ;
4388- this . labelElements . top . textContent = y1 + "px" ;
4389- this . labelElements . bottom . textContent = y2 + "px" ;
4386+ this . labelElements . left . textContent = Math . round ( x1 ) + "px" ;
4387+ this . labelElements . right . textContent = Math . round ( x2 ) + "px" ;
4388+ this . labelElements . top . textContent = Math . round ( y1 ) + "px" ;
4389+ this . labelElements . bottom . textContent = Math . round ( y2 ) + "px" ;
43904390
43914391 this . labelElements . left . style . left = edges . left + "px" ;
43924392 this . labelElements . right . style . left = edges . right + "px" ;
You can’t perform that action at this time.
0 commit comments