Skip to content

fix set#37

Open
Irene200825 wants to merge 1 commit intobcherny:masterfrom
Irene200825:fix/set
Open

fix set#37
Irene200825 wants to merge 1 commit intobcherny:masterfrom
Irene200825:fix/set

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