fix(textbox): subpixel gaps between adjacent selected characters#22962
fix(textbox): subpixel gaps between adjacent selected characters#22962ramezgerges merged 5 commits intounoplatform:masterfrom
Conversation
There was a problem hiding this comment.
Pull request overview
This PR targets Skia text rendering for UnicodeText to reduce visible seams/gaps between adjacent highlighted/selected character clusters by changing how background rectangles are pixel-aligned.
Changes:
- Adjusts highlight background rectangle X rounding logic (switching from
RoundtoFloorand extending right edge). - Adds
Console.WriteLinecalls at the start/end ofDraw(these should not ship in rendering code).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-22962/wasm-skia-net9/index.html |
|
The build 205461 found UI Test snapshots differences: Details
|
f1502dc to
02b39e8
Compare
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-22962/wasm-skia-net9/index.html |
|
The build 205476 found UI Test snapshots differences: Details
|
|
|
Xiaoy312
left a comment
There was a problem hiding this comment.
<3, that was so annoying!
|
The build 205476 found UI Test snapshots differences: Details
|
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
The build 206090 found UI Test snapshots differences: Details
|
|
The build 206090 found UI Test snapshots differences: Details
|
|
|
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-22962/wasm-skia-net9/index.html |
GitHub Issue: closes #
PR Type:
What is the current behavior? 🤔
What is the new behavior? 🚀
PR Checklist ✅
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Runresults.Other information ℹ️