feature: add option to only highlight current branch in commit graph (#848)

- add a toggle button to only highlight current branch in commit graph
- re-order buttons in histories toolbar
- remove unused icons and styles
This commit is contained in:
leo 2025-01-06 14:59:27 +08:00
parent 65e820e4d5
commit 26ebd5ae7e
No known key found for this signature in database
20 changed files with 194 additions and 120 deletions

View file

@ -128,6 +128,19 @@ namespace SourceGit.ViewModels
}
}
public bool OnlyHighlightCurrentBranchInHistories
{
get => _settings.OnlyHighlighCurrentBranchInHistories;
set
{
if (value != _settings.OnlyHighlighCurrentBranchInHistories)
{
_settings.OnlyHighlighCurrentBranchInHistories = value;
OnPropertyChanged();
}
}
}
public string Filter
{
get => _filter;