Skip to content

Commit 1d33070

Browse files
committed
ux: use theme foreground color
Signed-off-by: leo <longshuang@msn.cn>
1 parent 98d4d85 commit 1d33070

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/Views/PieChart.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public override void Render(DrawingContext context)
8989

9090
if (_report == null || _report.Authors.Count == 0)
9191
{
92-
var label = new FormattedText("0", CultureInfo.CurrentCulture, FlowDirection.LeftToRight, typeface, 14, Brushes.White);
92+
var label = new FormattedText("0", CultureInfo.CurrentCulture, FlowDirection.LeftToRight, typeface, 14, foreground);
9393
context.DrawEllipse(null, new Pen(s_brushes[0]), _center, _radius, _radius);
9494
context.DrawText(label, new Point(_center.X - label.Width / 2, _center.Y - label.Height / 2));
9595
return;

0 commit comments

Comments
 (0)