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

Sudden move when click an entity #4

Closed
ZacharyJia opened this issue Apr 24, 2022 · 1 comment
Closed

Sudden move when click an entity #4

ZacharyJia opened this issue Apr 24, 2022 · 1 comment

Comments

@ZacharyJia
Copy link

The entity will suddenly move to the position of the cursor, even we don't click at the center of the entity.
I think it will be better if we record the offset between the entity center and click position.

@HideBa
Copy link
Member

HideBa commented Apr 26, 2022

@ZacharyJia Since it detects clicking the entire entity event if you don't click the center of the entity as long as it clicks the entity it'll move.
I'll think about your idea but you also can set delay which delays dragging.

@HideBa HideBa closed this as completed Apr 29, 2022
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