Enter-tainer / typst-preview

[DEPRECATED] Use tinymist instead
https://Enter-tainer.github.io/typst-preview/
MIT License
450 stars 21 forks source link

Zooming is very jumpy #183

Closed Enivex closed 10 months ago

Enivex commented 10 months ago

Describe the bug If I use ctrl + mouse wheel to zoom, the preview "jumps".

https://github.com/Enter-tainer/typst-preview/assets/2191754/26a88324-c6dc-4580-9a8f-4271df32dde2

typst-preview extension version: v0.9.0

Enivex commented 10 months ago

Possibly the same issue as https://github.com/Enter-tainer/typst-preview/issues/128 ? Though this always happens for me.

Enter-tainer commented 10 months ago

typst-preview extension version: v0.7.3

Does it still happens in 0.9.0?

Enivex commented 10 months ago

typst-preview extension version: v0.7.3

Does it still happens in 0.9.0?

Sorry, yes, I'm on 0.9.0. I just copied 0.7.3 from the report template without checking, because I assumed it was the last one

memeplex commented 6 months ago

I still see this happening in:

I wouldn't say that the discrete jumps are wrong (although a smoother behavior would be desirable), but they are difficult to accurately control by means of the trackpad. If jumps are going to be in discrete steps, it would be better to bind zoom to some keys.

https://github.com/Enter-tainer/typst-preview/assets/2845433/f715fc38-6708-4882-ae02-ce9f00a74d3a

Enter-tainer commented 6 months ago

smooth pinch to zoom is on my radar and will be implemented in future.

dattito commented 6 months ago

very important, it's really annoying and decreasing the satisfaction using this absolutely amazing and magical tool.