@@ -680,7 +680,7 @@ private void OnColorsChanged()
680680 ClearBrush ( _needleBrush , NeedleBrushProperty ) ;
681681 ClearBrush ( _trailBrush , TrailBrushProperty ) ;
682682 ClearBrush ( _scaleBrush , ScaleBrushProperty ) ;
683- ClearBrush ( _scaleBrush , ScaleTickBrushProperty ) ;
683+ ClearBrush ( _scaleTickBrush , ScaleTickBrushProperty ) ;
684684 ClearBrush ( _tickBrush , TickBrushProperty ) ;
685685 ClearBrush ( _foreground , ForegroundProperty ) ;
686686 }
@@ -690,7 +690,7 @@ private void OnColorsChanged()
690690 RestoreBrush ( _needleBrush , NeedleBrushProperty ) ;
691691 RestoreBrush ( _trailBrush , TrailBrushProperty ) ;
692692 RestoreBrush ( _scaleBrush , ScaleBrushProperty ) ;
693- RestoreBrush ( _scaleBrush , ScaleTickBrushProperty ) ;
693+ RestoreBrush ( _scaleTickBrush , ScaleTickBrushProperty ) ;
694694 RestoreBrush ( _tickBrush , TickBrushProperty ) ;
695695 RestoreBrush ( _foreground , ForegroundProperty ) ;
696696 }
@@ -828,4 +828,4 @@ private double RoundToMultiple(double number, double multiple)
828828 return number + modulo ;
829829 }
830830 }
831- }
831+ }
0 commit comments