Repository navigation
fix: Keep double precision in GridLengthHelper - #25511
MartinZikmund merged 1 commit into
Conversation
- Remove the (float) casts in FromPixels and FromValueAndType - Add unit tests covering Pixel and Star values Addresses unoplatform#25242 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
/azp run |
|
Azure Pipelines: Successfully started running 1 pipeline(s). 1 pipeline(s) were filtered out due to trigger conditions. |
|
The build 244787 found UI Test snapshots differences: Details
|
|
🎉 Congratulations on getting your very first pull request merged into Uno Platform! This is a huge milestone — you are now officially part of the community of contributors helping shape the future of cross-platform .NET development, and your code will reach developers and apps all over the world. 🌍 |

GitHub Issue: closes #25242
PR Type:
Bugfix
What changed?
GridLengthHelper.FromPixelsandFromValueAndTypecast thedoubleargument tofloatbefore building theGridLength, losing precision.GridLengthalready stores adouble, so the casts were removed, matching WinUI. Added unit tests that fail before the change and pass after.PR Checklist