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

如何在拖动结束事件onDragstop 中获取左右移动的距离X,Y #384

Open
Bobby0403 opened this issue Nov 30, 2023 · 0 comments
Open

Comments

@Bobby0403
Copy link

需求:拖动结束后会想还原初始的位置,下次拖动的时候,拖动结束传回来的X,Y仍然是上次的数据+偏移的数据。希望还原后得到的X,Y为新的偏移量。

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