-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
以最后一次缩放的触摸位置为缩放原点缩放图像 #562
Labels
Comments
Hello @fengyuanchen , I am a beginner in contributing to open-source projects and am very interested in this issue. I believe I have some ideas on how to approach it. Could I work on it? |
SusieWen777
added a commit
to SusieWen777/viewerjs
that referenced
this issue
Oct 20, 2023
This commit addresses the issue of zoom origin when using zoom and zoomTo functions. Closes fengyuanchen#562
SusieWen777
added a commit
to SusieWen777/viewerjs
that referenced
this issue
Oct 20, 2023
This commit refines the comments for clarity regarding the zoom origin behavior when using zoom and zoomTo functions. Additionally, the project has been rebuilt. Closes fengyuanchen#562
SusieWen777
added a commit
to SusieWen777/viewerjs
that referenced
this issue
Oct 20, 2023
This commit addresses the issue of zoom origin when using zoom and zoomTo functions. Closes fengyuanchen#562
SusieWen777
added a commit
to SusieWen777/viewerjs
that referenced
this issue
Oct 20, 2023
This commit refines the comments for clarity regarding the zoom origin behavior when using zoom and zoomTo functions. Additionally, the project has been rebuilt. Closes fengyuanchen#562
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
与#553 相反
用户通过滚轮和触摸事件缩放图像时,缩放原点取决于 mousestart 或 touchstart 事件位置,而使用zoomTo或zoom放大时缩放原点取在图像中心,这样会使得图片在放大过程中发生位移,不能保持在原位置放大
Describe the solution you'd like
为zoomTo添加设置缩放原点的方法或者在添加以最后一次mousestart 或 touchstart 事件位置为缩放原点的配置项
The text was updated successfully, but these errors were encountered: