Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smooth cursor movement when zooming #2

Open
BrunaoW opened this issue May 5, 2023 · 1 comment
Open

Smooth cursor movement when zooming #2

BrunaoW opened this issue May 5, 2023 · 1 comment

Comments

@BrunaoW
Copy link

BrunaoW commented May 5, 2023

FvUnaVSWIAI3elG.mp4

The content when zooming-in is a bit unstable and hard to read because of mouse sensibility and cursor movement. The idea is slowing down the cursor movement/velocity or reducing temporarily the mouse sensibility when zooming in

@hugoattal
Copy link
Owner

That's a good idea!

It might be possible to do it with this: https://tauri.app/v1/api/js/window/#setcursorposition
(Hope it won't have a weird flickering)

PR accepted if you want to try it out 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants