feature<Preference>: supports for customizing max number of displayed history commits

This commit is contained in:
leo 2023-08-23 11:39:47 +08:00
parent 9006752705
commit 63a6ef256e
5 changed files with 45 additions and 17 deletions

View file

@ -54,7 +54,8 @@ namespace SourceGit.Models {
/// </summary>
public string FontFamilyContentSetting { get; set; } = "Consolas";
[JsonIgnore] public string FontFamilyContent {
[JsonIgnore]
public string FontFamilyContent {
get => FontFamilyContentSetting + ",Microsoft YaHei UI";
set => FontFamilyContentSetting = value;
}
@ -64,6 +65,11 @@ namespace SourceGit.Models {
/// </summary>
public bool UseDarkTheme { get; set; } = false;
/// <summary>
/// 历史提交记录最多显示的条目数
/// </summary>
public uint MaxHistoryCommits { get; set; } = 20000;
/// <summary>
/// 起始页仓库列表排序规则
/// </summary>