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

Change EditableObject's implementation with fabric.util.createClass #37

Open
swimmingkiim opened this issue Mar 24, 2024 · 0 comments
Open
Labels

Comments

@swimmingkiim
Copy link
Owner

Background

I got this idea when I was trying to implement the select method in EditableObject.
The issue that I was facing was that I could not extract EditableObject instances from the JSON format snapshot that the Data class has. In the current project's structure, It's too complicated to handle two states that represent the same thing.

Suggestion

  • Implement EditableObject with fabric.util.createClass
  • Also implement other custom object classes with EditableObject with fabric.util.createClass

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant