dkgv / pinpoint

Keystroke launcher and personal command central. Alternative to Spotlight and Alfred for Windows. Alternative to Wox, PowerToys.
https://usepinpoint.com
GNU General Public License v3.0
154 stars 17 forks source link

Fix window positioning issues caused by absolute pixel values #149

Closed clawcastle closed 2 years ago

clawcastle commented 2 years ago

Now calculates the ratio at which the window is displaced from the left and top of the current window rather than store absolute pixel values. The issue with that was that, when dragging the window from one screen to another, the offset would end up being that of an entire screen, placing the window outside the screen when visibility was then toggled again. This way, the window should appear with the exact same relative offset, regardless of screen resolution and whether or not the window is dragged within one screen or from one screen to another.

Closes #119