mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-26 03:40:45 +08:00
feature: add new Editor Font Size configuration for all text editors (#661)
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
@@ -102,6 +102,12 @@ namespace SourceGit.ViewModels
|
||||
set => SetProperty(ref _defaultFontSize, value);
|
||||
}
|
||||
|
||||
public double EditorFontSize
|
||||
{
|
||||
get => _editorFontSize;
|
||||
set => SetProperty(ref _editorFontSize, value);
|
||||
}
|
||||
|
||||
public LayoutInfo Layout
|
||||
{
|
||||
get => _layout;
|
||||
@@ -579,6 +585,7 @@ namespace SourceGit.ViewModels
|
||||
private bool _onlyUseMonoFontInEditor = false;
|
||||
private bool _useSystemWindowFrame = false;
|
||||
private double _defaultFontSize = 13;
|
||||
private double _editorFontSize = 13;
|
||||
private LayoutInfo _layout = new LayoutInfo();
|
||||
|
||||
private int _maxHistoryCommits = 20000;
|
||||
|
||||
Reference in New Issue
Block a user