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

[Refactor] Get trailing whitespace length from the glyph run metrics #17960

Conversation

dme-compunet
Copy link
Contributor

What does the pull request do?

This is a small improvement to #17924, after this change the trailing whitespace length is taken from GlyphRun.Metrics.TrailingWhitespaceLength, instead of recalculating it, this makes the code clearer and removes the unnecessary calculation

What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.3.999-cibuild0054245-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@MrJul MrJul enabled auto-merge January 15, 2025 08:01
@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.3.999-cibuild0054289-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.3.999-cibuild0054500-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.3.999-cibuild0054510-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@MrJul MrJul added this pull request to the merge queue Jan 23, 2025
Merged via the queue into AvaloniaUI:master with commit 7638a61 Jan 23, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants