Enter-tainer / typst-preview

[DEPRECATED] Use tinymist instead

Home Page:https://Enter-tainer.github.io/typst-preview/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

View jumps when zooming

Enivex opened this issue · comments

When zooming in and out, the view occasionally jumps for a frame, making the experience feel stuttery

Recording.2024-01-15.135904.mp4

I believe it was introduced in 10.2.3, as I couldn't reproduce it in 10.2.2

The most annoying part for me is that it's very hard to zoom to the desired level.

Maybe something to do with high resolution trackpad and not scaling raw values according to this? Just my gut feeling.

Screen.Recording.2024-02-12.at.12.58.16.mov

Especially because there doesn't seem to be a keyboard shortcut for zooming (Ctrl +/- zooms entire vscode)

trackpad zoom experience is getting improved in #244 . Would you like download a ci built version and have a try? You can scroll to the end of https://github.com/Enter-tainer/typst-preview/actions/runs/7868327586 and select the vsix file for your platform

Now the zoom direction is reversed! I pinch and it zooms out! Other than that it is a bit "glitchy", but it's better :)

Screen.Recording.2024-02-12.at.13.12.39.mov

Now the zoom direction is reversed! I pinch and it zooms out! Other than that it is a bit "glitchy", but it's better :)

Screen.Recording.2024-02-12.at.13.12.39.mov

reverse is not desired! i will fix it

This is fixed now I think and can be closed @Enter-tainer :))) thanks! oops i was viewing the pdf directly and not using typst-preview

@Enter-tainer I had this happen again intermittently in 0.11.4. However, I can't consistently reproduce it