diff --git a/Microsoft.Toolkit.Uwp.UI.Controls.Input/RadialGauge/RadialGauge.cs b/Microsoft.Toolkit.Uwp.UI.Controls.Input/RadialGauge/RadialGauge.cs index 3acea37676c..3a2f9d08a6a 100644 --- a/Microsoft.Toolkit.Uwp.UI.Controls.Input/RadialGauge/RadialGauge.cs +++ b/Microsoft.Toolkit.Uwp.UI.Controls.Input/RadialGauge/RadialGauge.cs @@ -680,7 +680,7 @@ private void OnColorsChanged() ClearBrush(_needleBrush, NeedleBrushProperty); ClearBrush(_trailBrush, TrailBrushProperty); ClearBrush(_scaleBrush, ScaleBrushProperty); - ClearBrush(_scaleBrush, ScaleTickBrushProperty); + ClearBrush(_scaleTickBrush, ScaleTickBrushProperty); ClearBrush(_tickBrush, TickBrushProperty); ClearBrush(_foreground, ForegroundProperty); } @@ -690,7 +690,7 @@ private void OnColorsChanged() RestoreBrush(_needleBrush, NeedleBrushProperty); RestoreBrush(_trailBrush, TrailBrushProperty); RestoreBrush(_scaleBrush, ScaleBrushProperty); - RestoreBrush(_scaleBrush, ScaleTickBrushProperty); + RestoreBrush(_scaleTickBrush, ScaleTickBrushProperty); RestoreBrush(_tickBrush, TickBrushProperty); RestoreBrush(_foreground, ForegroundProperty); } @@ -828,4 +828,4 @@ private double RoundToMultiple(double number, double multiple) return number + modulo; } } -} \ No newline at end of file +}