@@ -680,7 +680,7 @@ private void OnColorsChanged()
680
680
ClearBrush ( _needleBrush , NeedleBrushProperty ) ;
681
681
ClearBrush ( _trailBrush , TrailBrushProperty ) ;
682
682
ClearBrush ( _scaleBrush , ScaleBrushProperty ) ;
683
- ClearBrush ( _scaleBrush , ScaleTickBrushProperty ) ;
683
+ ClearBrush ( _scaleTickBrush , ScaleTickBrushProperty ) ;
684
684
ClearBrush ( _tickBrush , TickBrushProperty ) ;
685
685
ClearBrush ( _foreground , ForegroundProperty ) ;
686
686
}
@@ -690,7 +690,7 @@ private void OnColorsChanged()
690
690
RestoreBrush ( _needleBrush , NeedleBrushProperty ) ;
691
691
RestoreBrush ( _trailBrush , TrailBrushProperty ) ;
692
692
RestoreBrush ( _scaleBrush , ScaleBrushProperty ) ;
693
- RestoreBrush ( _scaleBrush , ScaleTickBrushProperty ) ;
693
+ RestoreBrush ( _scaleTickBrush , ScaleTickBrushProperty ) ;
694
694
RestoreBrush ( _tickBrush , TickBrushProperty ) ;
695
695
RestoreBrush ( _foreground , ForegroundProperty ) ;
696
696
}
@@ -828,4 +828,4 @@ private double RoundToMultiple(double number, double multiple)
828
828
return number + modulo ;
829
829
}
830
830
}
831
- }
831
+ }
0 commit comments