Skip to content

Commit

Permalink
fix: Adjust default values types for EntranceThemeTransition DPs
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban authored Dec 6, 2023
1 parent 4452c3e commit 0cade60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Uno.UI/UI/Xaml/Media/Animation/EntranceThemeTransition.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public double FromHorizontalOffset

// Using a DependencyProperty as the backing store for FromHorizontalOffset. This enables animation, styling, binding, etc...
public static DependencyProperty FromHorizontalOffsetProperty { get; } =
DependencyProperty.Register("FromHorizontalOffset", typeof(double), typeof(EntranceThemeTransition), new FrameworkPropertyMetadata(40f));
DependencyProperty.Register("FromHorizontalOffset", typeof(double), typeof(EntranceThemeTransition), new FrameworkPropertyMetadata(40.0));

#endregion

Expand All @@ -42,7 +42,7 @@ public double FromVerticalOffset

// Using a DependencyProperty as the backing store for FromVerticalOffset. This enables animation, styling, binding, etc...
public static DependencyProperty FromVerticalOffsetProperty { get; } =
DependencyProperty.Register("FromVerticalOffset", typeof(double), typeof(EntranceThemeTransition), new FrameworkPropertyMetadata(0f));
DependencyProperty.Register("FromVerticalOffset", typeof(double), typeof(EntranceThemeTransition), new FrameworkPropertyMetadata(0.0));

#endregion

Expand Down

0 comments on commit 0cade60

Please sign in to comment.