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

adding lineStarted logic to _wrapLine function #2852

Merged
merged 1 commit into from
Mar 26, 2016
Merged

adding lineStarted logic to _wrapLine function #2852

merged 1 commit into from
Mar 26, 2016

Conversation

asturur
Copy link
Member

@asturur asturur commented Mar 26, 2016

The error was considering line === '' as a line that just started. This messed up consecutive spaces.
Consecutive spaces create words with 0 lenght and they leave the line with no infix and no characters.

closes #2804

The error was considering line === '' as a line that just started. This messed up consecutive spaces.
Consecutive spaces create words with 0 lenght and they leave the line with no infix and no characters.
@asturur asturur merged commit c1e3ad5 into fabricjs:master Mar 26, 2016
@asturur asturur deleted the textboxspaces branch March 26, 2016 11:37
@asturur asturur restored the textboxspaces branch March 26, 2016 11:37
@onassar
Copy link

onassar commented Mar 27, 2016

When will the distribution files be updated?

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.

Space appears on the wrong line in a Textbox object
2 participants