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

Remove active property from objects #4200

Merged
merged 3 commits into from Aug 14, 2017
Merged

Remove active property from objects #4200

merged 3 commits into from Aug 14, 2017

Conversation

asturur
Copy link
Member

@asturur asturur commented Aug 14, 2017

Why:

The active property was a kind of readonly property to inform when an object was active to other pieces of the library.

The property was occasionally used to hack behaviours instead of coding them correctly.

Now you can understand if an object is the active one comparing with canvas._activeObject or canvas.getActiveObject().

@asturur asturur merged commit 6b4d215 into master Aug 14, 2017
@asturur asturur deleted the remove-active branch August 17, 2017 13:48
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.

None yet

1 participant