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

mousemove target and kerning #4442

Merged
merged 1 commit into from
Nov 8, 2017
Merged

mousemove target and kerning #4442

merged 1 commit into from
Nov 8, 2017

Conversation

asturur
Copy link
Member

@asturur asturur commented Nov 8, 2017

This PR introduces 2 fixes.

  1. when drawing a character at start of kerning segment, since we move back the left of the kern difference, use the width, not the kerned width.

  2. during mouse move that happen during a transform, do not search for target again, is a loss of time and fabric cannot manage 2 targets at time, in that moment the current target is the transforming target, even if we are hovering some other.

@asturur asturur merged commit ece82e6 into master Nov 8, 2017
@asturur asturur deleted the 2-fixess branch November 19, 2017 15:31
@asturur asturur mentioned this pull request Nov 19, 2017
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.

1 participant