-
Notifications
You must be signed in to change notification settings - Fork 259
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initialize reused nodes, links, pins. Close #59.
- Reused elements weren't getting initialized in a matching way as new elements - This could have lead to bugs where reused node state is retained from old nodes (i.e. a reused node is locked in place as draggable is still false from a previous element) - pin indices were only used in draw_node(), so it is fine to reset them in the node update pass.
- Loading branch information
Showing
1 changed file
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters