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

fixes deep cloning of style #3502

Merged
merged 2 commits into from
Dec 6, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fixes deep cloning of style
asturur committed Dec 6, 2016
commit ed779ba2027ef1b2fc4ba9833a8b67b24faeb88a
4 changes: 3 additions & 1 deletion src/mixins/itext_key_behavior.mixin.js
Original file line number Diff line number Diff line change
@@ -202,7 +202,9 @@ fabric.util.object.extend(fabric.IText.prototype, /** @lends fabric.IText.protot
this.getSelectionStyles(
this.selectionStart,
this.selectionEnd
)
),
// deep clone
true
);
e.stopImmediatePropagation();
e.preventDefault();