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

removed this.ctx from Textbox. #4466

Merged
merged 1 commit into from
Nov 17, 2017
Merged

removed this.ctx from Textbox. #4466

merged 1 commit into from
Nov 17, 2017

Conversation

asturur
Copy link
Member

@asturur asturur commented Nov 17, 2017

Main purpose is to remove that weird canvas creation at object initialize

@asturur asturur merged commit 0df3f55 into master Nov 17, 2017
@asturur asturur deleted the remove-this.ctx branch November 19, 2017 15:31
@asturur asturur mentioned this pull request Nov 19, 2017
@@ -255,7 +255,6 @@
*/
_render: function(ctx) {
this.callSuper('_render', ctx);
this.ctx = ctx;
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

_render does nothing except calling super, can be removed I guess

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah....

thiagocunha pushed a commit to thiagocunha/fabric.js that referenced this pull request Nov 18, 2019
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.

2 participants