Skip to content

Commit

Permalink
Merge pull request #4362 from XamlBrewer/patch-1
Browse files Browse the repository at this point in the history
Fix Radial Gauge ScaleTickBrush color assignment
  • Loading branch information
XAML-Knight authored Nov 2, 2021
2 parents bdd1d84 + c27cd3b commit 56d1b46
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand All @@ -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);
}
Expand Down Expand Up @@ -828,4 +828,4 @@ private double RoundToMultiple(double number, double multiple)
return number + modulo;
}
}
}
}

0 comments on commit 56d1b46

Please sign in to comment.