zsims / hunt-and-peck

Simple vimium/vimperator style navigation for Windows applications based on the UI Automation framework.
595 stars 54 forks source link

Non-standard DPIs cause incorrect overlay rendering/positioning #2

Closed zsims closed 9 years ago

zsims commented 9 years ago

With a 120 DPI (Windows 7) keblwsj

Reddit convo:

The overlays for me show up a little off: http://imgur.com/KebLwsJ. I'm on Windows 7 and I have .NET 4.5. Any ideas what's going on?

Do you run a non-standard DPI? There's a few coordinate space conversion along the way, so possible I'm not accounting for something.

ah yep I normally use 120 dpi (medium setting), but I changed it 96 and now it works fine. Thanks!