ux: use a transparent brush for non relatives paths (#848)

This commit is contained in:
leo 2025-01-06 17:52:59 +08:00
parent fffa4f9bea
commit 68cfb092fc
No known key found for this signature in database

View file

@ -554,7 +554,7 @@ namespace SourceGit.Views
private void DrawCurves(DrawingContext context, Models.CommitGraph graph, double top, double bottom)
{
var grayedPen = new Pen(Brushes.Gray, Models.CommitGraph.Pens[0].Thickness);
var grayedPen = new Pen(new SolidColorBrush(Colors.Gray, 0.4), Models.CommitGraph.Pens[0].Thickness);
var onlyHighlightCurrentBranch = OnlyHighlightCurrentBranch;
if (onlyHighlightCurrentBranch)