Pārlūkot izejas kodu

Fix ConicGradientBrush property registrations

Wiesław Šoltés 3 gadi atpakaļ
vecāks
revīzija
1e3c5642a3
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      src/Avalonia.Base/Media/ConicGradientBrush.cs

+ 2 - 2
src/Avalonia.Base/Media/ConicGradientBrush.cs

@@ -11,7 +11,7 @@ namespace Avalonia.Media
         /// Defines the <see cref="Center"/> property.
         /// Defines the <see cref="Center"/> property.
         /// </summary>
         /// </summary>
         public static readonly StyledProperty<RelativePoint> CenterProperty =
         public static readonly StyledProperty<RelativePoint> CenterProperty =
-            AvaloniaProperty.Register<RadialGradientBrush, RelativePoint>(
+            AvaloniaProperty.Register<ConicGradientBrush, RelativePoint>(
                 nameof(Center),
                 nameof(Center),
                 RelativePoint.Center);
                 RelativePoint.Center);
 
 
@@ -19,7 +19,7 @@ namespace Avalonia.Media
         /// Defines the <see cref="Angle"/> property.
         /// Defines the <see cref="Angle"/> property.
         /// </summary>
         /// </summary>
         public static readonly StyledProperty<double> AngleProperty =
         public static readonly StyledProperty<double> AngleProperty =
-            AvaloniaProperty.Register<RadialGradientBrush, double>(
+            AvaloniaProperty.Register<ConicGradientBrush, double>(
                 nameof(Angle),
                 nameof(Angle),
                 0);
                 0);