mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2025-06-07 22:59:14 +08:00
Fix window size record
This commit is contained in:
parent
9ee1239341
commit
d0361c29aa
@ -166,6 +166,10 @@ namespace GrasscutterTools.Forms
|
||||
// 记录界面状态
|
||||
Settings.Default.AutoCopy = ChkAutoCopy.Checked;
|
||||
Settings.Default.MainFormLocation = Location;
|
||||
// 如果命令窗口已经弹出了,则不要保存多余的高度
|
||||
if (TxtCommandRunLog != null)
|
||||
Settings.Default.MainFormSize = new Size(Width, Height - TxtCommandRunLogMinHeight);
|
||||
else
|
||||
Settings.Default.MainFormSize = Size;
|
||||
|
||||
// 保存自定义命令
|
||||
|
Loading…
Reference in New Issue
Block a user