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

Fixed multi line text calculation #1135

Merged
merged 1 commit into from Aug 30, 2022
Merged

Fixed multi line text calculation #1135

merged 1 commit into from Aug 30, 2022

Conversation

Jugen
Copy link
Collaborator

@Jugen Jugen commented Aug 30, 2022

Fixes #1134 getParagraphLinesCount() get wrong line count

This was because all lines in a multi-line text node was being incorrectly added to the paragraph count.
Rearranged the line count logic to fix.

@Jugen Jugen merged commit d877177 into master Aug 30, 2022
@Jugen Jugen deleted the fix-paragraph-line-count branch August 30, 2022 16:44
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.

getParagraphLinesCount() get wrong line count
1 participant