Skip to content

Commit a47f680

Browse files
authored
Merge pull request #727 from h82258652/fix-y-axis-clip
Fix TransitionHelper Y-axis clip
2 parents 041c32f + f709c21 commit a47f680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/TransitionHelper/src/TransitionHelper.Helpers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ private static Rect GetTransformedBounds(Vector2 initialLocation, Vector2 initia
252252
(targetParentBounds.X - transformedBounds.X) * inverseScale.X,
253253
(targetParentBounds.Y - transformedBounds.Y) * inverseScale.Y,
254254
(transformedBounds.Right - targetParentBounds.Right) * inverseScale.X,
255-
(transformedBounds.Bottom - targetParentBounds.Bottom) * inverseScale.X);
255+
(transformedBounds.Bottom - targetParentBounds.Bottom) * inverseScale.Y);
256256
}
257257

258258
private static readonly Dictionary<(EasingType, EasingMode, bool), IEasingFunctionFactory> EasingFunctionFactoryCache = new();

0 commit comments

Comments
 (0)