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

feat(fabric.controlsUtils) Move drag to actions to control handlers #6617

Merged
merged 8 commits into from
Sep 26, 2020

Conversation

asturur
Copy link
Member

@asturur asturur commented Sep 26, 2020

No practical changes.
Move the ability to move an object outside the Canvas class, into controls utils.
Also fix a ie11 bug

close #6565
close #6607

@@ -31,7 +31,8 @@
function fireEvent(eventName, options) {
var target = options.transform.target,
canvas = target.canvas,
canvasOptions = Object.assign({}, options, { target: target });
canvasOptions = fabric.util.clone(options);
Copy link
Member Author

Choose a reason for hiding this comment

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

fix #6565

@asturur asturur merged commit f80dffc into master Sep 26, 2020
@asturur asturur mentioned this pull request Sep 26, 2020
@asturur asturur mentioned this pull request Dec 23, 2020
shanicerae pushed a commit to shanicerae/fabric.js that referenced this pull request Jan 16, 2021
@asturur asturur deleted the move-drag-to-actions branch January 16, 2021 17:23
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.

Move action in custom controls api (4.1.0) IE11 - object doesn't support property or method 'assign'
1 participant