Skip to content

以最后一次缩放的触摸位置为缩放原点缩放图像 #562

Description

@rhyryy

Is your feature request related to a problem? Please describe.
#553 相反
用户通过滚轮和触摸事件缩放图像时,缩放原点取决于 mousestart 或 touchstart 事件位置,而使用zoomTo或zoom放大时缩放原点取在图像中心,这样会使得图片在放大过程中发生位移,不能保持在原位置放大
Describe the solution you'd like
为zoomTo添加设置缩放原点的方法或者在添加以最后一次mousestart 或 touchstart 事件位置为缩放原点的配置项

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions