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

Zooming in/out dispositions the cursor from the actual text #78

Closed
kearfy opened this issue Jul 30, 2023 · 2 comments
Closed

Zooming in/out dispositions the cursor from the actual text #78

kearfy opened this issue Jul 30, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@kearfy
Copy link
Member

kearfy commented Jul 30, 2023

Describe the bug
Zooming in/out dispositions the cursor from the actual text. At the normal 100% scale it is fine, and this is also not an issue on the web. Just on the desktop app.

To Reproduce
Steps to reproduce the behavior:

  1. Open Surrealist
  2. Zoom in or out a bit
  3. Notice how the cursor is at a different position as the actual text you are trying to edit

Expected behavior
For the cursor to be at the same position as the text you're editing

Environment (you can view the current version under Settings):

  • Operating System [e.g. Windows]: macOS
  • Surrealist Version [e.g. 1.2.0]: 13.4.1 (Ventura)
  • SurrealDB Version [execute "surreal version"]: 1.0.0-beta.9+20230723.432a6cc for macos on aarch64
@jackson-bean
Copy link
Contributor

Thanks for opening an issue! Zooming isn't natively supported by Tauri at the moment (see tauri-apps/tauri#3310), so we've had to come up with a workaround. Obviously this is causing more issues than it fixes, so unless there is another workaround we haven't considered, we'll probably have to remove zooming for the time being.

@kearfy
Copy link
Member Author

kearfy commented Jul 30, 2023

I see! Makes sense :)
Thanks for the fast response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants