Browse Source

Fix ConicGradientBrush property registrations

pull/8114/head
Wiesław Šoltés 4 years ago
parent
commit
1e3c5642a3
  1. 4
      src/Avalonia.Base/Media/ConicGradientBrush.cs

4
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);

Loading…
Cancel
Save