theme: add ThemeOverrides.OpacityForNotMergedCommits to customize the opacity of commits that not belongs (haven't been merged) to current branch in histories (#268)

This commit is contained in:
leo 2024-07-18 10:46:39 +08:00
parent b2ed1b283a
commit 14469b1399
No known key found for this signature in database
5 changed files with 22 additions and 16 deletions

View file

@ -188,6 +188,8 @@ namespace SourceGit
else
Models.CommitGraph.SetDefaultPens(overrides.GraphPenThickness);
Models.Commit.OpacityForNotMerged = overrides.OpacityForNotMergedCommits;
app.Resources.MergedDictionaries.Add(resDic);
app._themeOverrides = resDic;
}