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

拖拽画布时元素位置偏移 #507

Open
875908494 opened this issue Aug 28, 2024 · 1 comment
Open

拖拽画布时元素位置偏移 #507

875908494 opened this issue Aug 28, 2024 · 1 comment

Comments

@875908494
Copy link

Describe the bug
按住空格拖拽画布时,元素的位置信息发生了像素偏移,比如一开始坐标为0,0的元素,在按住空格键拖拽完画布后,元素的坐标变为了-1,2等,这是为什么,是在mouse:move的时候计算位置出了问题嘛

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

2 participants
@875908494 and others