remove unused code
This commit is contained in:
parent
1c13897f45
commit
f7c9209d18
@ -18,7 +18,5 @@ export function getAdjustedCoordinates(
|
||||
const offsetX = rect ? rect.left : 0;
|
||||
const offsetY = rect ? rect.top : 0;
|
||||
|
||||
// Adjust for scale
|
||||
const scale = 1; // the scale factor applied to the iframe
|
||||
return { x: x / scale + offsetX, y: y / scale + offsetY };
|
||||
return { x: x + offsetX, y: y + offsetY };
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user