Skip to content

Commit

Permalink
Fix note font color in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ImoutoChan committed Jan 30, 2024
1 parent 37b895b commit 5bd0cfe
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using System.Windows;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Media;

namespace ImoutoRebirth.Common.WPF.Notes;

Expand Down Expand Up @@ -71,6 +72,7 @@ public object Convert(object? value, Type targetType, object? parameter, System.
run.FontSize = 16;
}
run.Text = currentText;
run.Foreground = new SolidColorBrush(Colors.Black);
result.Add(run);

currentText = string.Empty;
Expand Down

0 comments on commit 5bd0cfe

Please sign in to comment.