VisualCeption icon indicating copy to clipboard operation
VisualCeption copied to clipboard

createScreenshot() does not take into account window.devicePixelRatio

Open mklepaczewski opened this issue 5 years ago • 1 comments

VisualCeption::createScreenshot() doesn't take into account window.devicePixelRatio and incorrectly calculates $coords, in particular when the screenshot is limited to a specific element.

mklepaczewski avatar Dec 23 '19 14:12 mklepaczewski

I can confirm there is indeed a problem in taking pictures for pixel ratio other than 1 - is there any chance for fixing it?

AdamOakman avatar Feb 02 '21 14:02 AdamOakman