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
Wrong position in two-row layout #270
Comments
We use viewcolumn.beside https://github.com/Enter-tainer/typst-preview/blob/main/addons/vscode/src/extension.ts#L449 VSCode api provide other types but they don't look interesting. I think maybe it vscode's limitation? Is there any extension that opens a new window can correctly position itself? I can take a look at its code find out how to do this. |
When I use latex-workshop extension to typeset latex documents, the position of the preview is correct in two-row layout. |
ty, i will look into that |
Describe the bug
It seems typst-preview doesn't check current layout and always opens preview on the right side of the window.
To Reproduce
Steps to reproduce the behavior (Library test):
Expected behavior
The preview should appear on the bottom of the window. But it always appears on the right.
Package/Software version:
VSCode version(Help -> About):
typst-preview extension version:
v0.10.10
The text was updated successfully, but these errors were encountered: