katrain icon indicating copy to clipboard operation
katrain copied to clipboard

Fix preview mouse position on Windows

Open yocox opened this issue 1 year ago • 1 comments

  1. Fix preview mouse position on Windows On Windows, if the screen resize is not 1, the device resolution might be different from the mouse resolution.

The "touch_down" and "touch_up" event use the device resolution, but the "on_mouse_pos" event use the mouse resolution. So the mouse position is not correct. We need to convert the mouse position to the device resolution.

  1. Improve performance of find preview.

yocox avatar Oct 04 '23 18:10 yocox