feature: add new Editor Font Size configuration for all text editors (#661)

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2024-11-07 17:52:23 +08:00
parent ffeb63613c
commit ef84891df1
No known key found for this signature in database
8 changed files with 35 additions and 6 deletions

View file

@ -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;