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

fix set #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix set #37

wants to merge 1 commit into from

Conversation

Irene200825
Copy link

Create multiple objects,each of  which use the "set" method to set the same location. The first set succeeds and the next set fails.
 
the set method calls the move method, and the condition of the move is: pos.x! == dragEvent.x || pos.y ! == dragEvent.y。 dragEvent  is a property of prototype ,so each draggable object point a dragEvent .

@georf
Copy link

georf commented Jun 15, 2024

A new version with this fix would be nice 👍

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

Successfully merging this pull request may close these issues.

3 participants