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

FR: Push-to-zoom #1

Open
AtmanActive opened this issue May 5, 2023 · 2 comments
Open

FR: Push-to-zoom #1

AtmanActive opened this issue May 5, 2023 · 2 comments

Comments

@AtmanActive
Copy link

Would it be possible to add push-to-zoom mode in addition to the existing push-to-toggle?

So, instead of enabling and disabling the zoom on distinct keypresses, this would be press-to-enable, release-to-disable.

This would allow much more fluent usage patterns.

Thanks!

@hugoattal
Copy link
Owner

hugoattal commented May 5, 2023

I actually wanted it to work that way, but that's a limitation of Tauri: tauri-apps/tauri#4364

But I may be able to use this to do it: tauri-apps/tauri#5562

@hugoattal
Copy link
Owner

So I ended up with a poor man method for this (See here: https://github.com/hugoattal/milky-warp#experimental)

I'll leave this issue open in case someone finds a better way to do it, because it's far from ideal. At the same time, it seems to be rather difficult to listen for keyup of global shortcuts.

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