Repository navigation
Conversation
|
The build 13552 found UI Test snapshots differences.
|
| pathArea.Height = pathArea.Width; | ||
| break; | ||
|
|
||
| case Stretch.Uniform: // when pathArea.Width > pathArea.Height: |
There was a problem hiding this comment.
just to explicit the case ... not really needed indeed
|
The build 13560 found UI Test snapshots differences.
|
| #if LEGACY_SHAPE_MEASURE | ||
| propertyChangedCallback: (s, e) => ((Shape)s).OnStrokeUpdated((Brush)e.NewValue) | ||
| #else | ||
| options: FrameworkPropertyMetadataOptions.AffectsArrange |
f05ad09 to
fccf67c
Compare
|
The build 13586 found UI Test snapshots differences.
|
|
The build 13586 found UI Test snapshots differences.
|
| internal static double FiniteOrDefault(this double value, double defaultValue) | ||
| { | ||
| #if XAMARIN | ||
| return IsFinite(value) |
…Polyline clipping issues
On iOS sheapes are now rendered during the standard measure / arrange phases. This also includes multiples fixes like: * Shapes are now properly stretching according to the size and the strech mode defined on the shape * Shapes are no longer inheriting from a ArbitraryShapeBase that was not part of the WinUI API * Lines (and Polylines) are now rendered even if width / height is 0 * Shapes are now allowed to flow out of their container under certain circonstances (like WinUI)
The measured size was not properly taking in consideration the scale, so the retun size was too big, driving the parent to mis-align the Shape.
| switch (stretch) | ||
| { | ||
| default: | ||
| case Stretch.None: |
| pathArea.Height = pathArea.Width = 0; | ||
| break; | ||
|
|
||
| default: |
There was a problem hiding this comment.
| public PointCollection(IEnumerable<Windows.Foundation.Point> coordinates) | ||
| { | ||
| _coords = coordinates.ToList(); | ||
| _points = coordinates.ToList(); |
There was a problem hiding this comment.
|
The build 13984 found UI Test snapshots differences.
|
|
This as been moved to a feature branch #2997 |
GitHub Issue: private see below
Bugfix / refactor
The way that shapes was rendered on iOS has been fully refactored to properly follow the measure/arrange phases of WinUI/Uno.
What is the current behavior?
Some shapes are not rendered properly on iOS, and sometimes they are no visible at all (cf. issue linked below).
What is the new behavior?
All shapes behaves like WinUI
PR Checklist
Screenshots Compare Test Runresults.Contains NO breaking changesSome API have been aligned to match the WinUI contract