Skip to content
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

transform: scale的支持 #811

Open
kemaosen opened this issue Sep 14, 2024 · 1 comment
Open

transform: scale的支持 #811

kemaosen opened this issue Sep 14, 2024 · 1 comment

Comments

@kemaosen
Copy link

当前组件并不支持在缩放情况下拖动。可以通过修改源码中的handleDrag方法,来支持在缩放情况下拖拽元素 使left,top的值得以准确

PixPin_2024-09-14_10-59-46

@kemaosen
Copy link
Author

希望添加一个prop.scale参数,以代替this.specialStore.pageScale = {widthScale:1,heightScale:1}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant