wittjeff / color-contrast-chrome

Color Contrast Analyzer Extension for Google Chrome
0 stars 0 forks source link

selection area is incorrect when scaling is not 100% #4

Open wittjeff opened 4 months ago

wittjeff commented 4 months ago

I select this (roughly)

image

I get this:

image

The ratio appears to be off by the same ratio of scaling (150% or 2/3).

wittjeff commented 4 months ago

The capture area is still not accurate (not representing the drag-selected area) as of 20 June build. But there are more interesting variations now. When I try to capture just the area of the H1 (main heading) on this page, on mousedown the start of the selection area is incorrect. This is when scrolled to the top of the page. https://www.tomsguide.com/vehicle-tech/evs/i-tried-charging-an-ev-at-home-and-it-was-a-shock-i-wasnt-expecting

umaidshahid commented 4 months ago

The capture area is still not accurate (not representing the drag-selected area) as of 20 June build. But there are more interesting variations now. When I try to capture just the area of the H1 (main heading) on this page, on mousedown the start of the selection area is incorrect. This is when scrolled to the top of the page. https://www.tomsguide.com/vehicle-tech/evs/i-tried-charging-an-ev-at-home-and-it-was-a-shock-i-wasnt-expecting

does not do that for me. strange