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

Fix text enter edit on corner #2393

Merged
merged 2 commits into from
Aug 9, 2015
Merged

Fix text enter edit on corner #2393

merged 2 commits into from
Aug 9, 2015

Conversation

asturur
Copy link
Member

@asturur asturur commented Aug 7, 2015

Used a lonely variable object.__corner ( i cannot find any reference of it in the libray other than the point in _findTargetCorner where it get assigned) to keep track in the click event if a corner has been clicked.
If we clicked on a corner i'm not gonna enter edit.

closes #2380.

kangax added a commit that referenced this pull request Aug 9, 2015
@kangax kangax merged commit d742cc6 into fabricjs:master Aug 9, 2015
@asturur asturur deleted the fix-text-enter-edit-on-corner branch August 9, 2015 22:31
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.

Text box is entering into edit mode when clicked/touched on any of the re-size controls
2 participants