Remember inspect panel size, add restore size button
This commit is contained in:
10
Settings.cs
10
Settings.cs
@@ -31,6 +31,7 @@ namespace UIFixes
|
||||
public static ConfigEntry<WeaponPresetConfirmationOption> ShowPresetConfirmations { get; set; }
|
||||
public static ConfigEntry<TransferConfirmationOption> ShowTransferConfirmations { get; set; }
|
||||
public static ConfigEntry<bool> ShowModStats { get; set; }
|
||||
public static ConfigEntry<bool> RememberInspectSize { get; set; }
|
||||
|
||||
// Input
|
||||
public static ConfigEntry<bool> UseHomeEnd { get; set; }
|
||||
@@ -82,6 +83,15 @@ namespace UIFixes
|
||||
null,
|
||||
new ConfigurationManagerAttributes { })));
|
||||
|
||||
configEntries.Add(RememberInspectSize = config.Bind(
|
||||
GeneralSection,
|
||||
"Remember Inspect Panel Size",
|
||||
true,
|
||||
new ConfigDescription(
|
||||
"Save the size of the inspect panel when you resize it",
|
||||
null,
|
||||
new ConfigurationManagerAttributes { })));
|
||||
|
||||
// Input
|
||||
configEntries.Add(UseHomeEnd = config.Bind(
|
||||
InputSection,
|
||||
|
||||
Reference in New Issue
Block a user