You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CompositionGeometry.TrimEnd defaults to 0 and TrimEnd = 0 draws the whole path #25200
CompositionGeometry.TrimEnd defaults to 0 on Uno, and a geometry with TrimStart = TrimEnd = TrimOffset = 0 is treated as "untrimmed", so an explicit TrimEnd = 0 draws the whole path. A geometry that only sets TrimStart (leaving TrimEnd at its default) draws nothing.
A LottieGen trim-path animation whose end keyframe is 0 (a draw-on from nothing — checkmarks, loaders, the determinate ProgressRing at value 0) therefore flashes the full stroke at progress 0, at loop wrap and after Stop.
Expected behavior 🎯
Match WinUI / Windows App SDK: CreateEllipseGeometry() reports TrimStart = 0, TrimEnd = 1, TrimOffset = 0 at runtime (probed on WinAppSDK 2.4; the Microsoft Learn page says the TrimEnd default is 0, but the runtime reports 1). An empty trim window (TrimEnd == TrimStart, including 0, 0) draws nothing.
How to reproduce it (as minimally and precisely as possible) 🔬
Activity
fix(composition): Wrap reversed trims, reject out-of-range
fix(composition): Default TrimEnd to 1
fix(composition): Wrap reversed trims, reject out-of-range