mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 20:24:59 +00:00
feature<Window>: remember window state
This commit is contained in:
parent
9f58e0c715
commit
f04c01b878
3 changed files with 12 additions and 3 deletions
|
@ -4,6 +4,7 @@ using System.Collections.Generic;
|
|||
using System.IO;
|
||||
using System.Text.Json;
|
||||
using System.Text.Json.Serialization;
|
||||
using System.Windows;
|
||||
|
||||
namespace SourceGit.Models {
|
||||
|
||||
|
@ -125,6 +126,11 @@ namespace SourceGit.Models {
|
|||
/// </summary>
|
||||
public double Height { get; set; } = 600;
|
||||
|
||||
/// <summary>
|
||||
/// 保存上次关闭时是否最大化中
|
||||
/// </summary>
|
||||
public WindowState State { get; set; } = WindowState.Normal;
|
||||
|
||||
/// <summary>
|
||||
/// 将提交信息面板与提交记录左右排布
|
||||
/// </summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue