mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-03 10:04:59 +00:00
code_style: move platform dependent code to initialize window to namespace SourceGit.Native
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
c62b4a031f
commit
ef4b639f8e
9 changed files with 41 additions and 68 deletions
|
@ -91,8 +91,8 @@ namespace SourceGit.ViewModels
|
|||
|
||||
public bool UseSystemWindowFrame
|
||||
{
|
||||
get => _useSystemWindowFrame;
|
||||
set => SetProperty(ref _useSystemWindowFrame, value);
|
||||
get => Native.OS.UseSystemWindowFrame;
|
||||
set => Native.OS.UseSystemWindowFrame = value;
|
||||
}
|
||||
|
||||
public double DefaultFontSize
|
||||
|
@ -656,7 +656,6 @@ namespace SourceGit.ViewModels
|
|||
private string _defaultFontFamily = string.Empty;
|
||||
private string _monospaceFontFamily = string.Empty;
|
||||
private bool _onlyUseMonoFontInEditor = false;
|
||||
private bool _useSystemWindowFrame = false;
|
||||
private double _defaultFontSize = 13;
|
||||
private double _editorFontSize = 13;
|
||||
private int _editorTabWidth = 4;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue