Click outside of dialogs to close

This commit is contained in:
Tyfon
2024-06-03 01:45:12 -07:00
parent 37f14b898e
commit 284e5bd21e
3 changed files with 72 additions and 2 deletions

View File

@@ -35,6 +35,7 @@ namespace UIFixes
public static ConfigEntry<bool> KeepMessagesOpen { get; set; }
public static ConfigEntry<bool> AutofillQuestTurnIns { get; set; }
public static ConfigEntry<bool> AutoSwitchTrading { get; set; }
public static ConfigEntry<bool> ClickOutOfDialogs { get; set; } // Advanced
// Input
public static ConfigEntry<bool> UseHomeEnd { get; set; }
@@ -122,6 +123,15 @@ namespace UIFixes
null,
new ConfigurationManagerAttributes { })));
configEntries.Add(ClickOutOfDialogs = config.Bind(
GeneralSection,
"Click Outside of Dialogs to Close",
true,
new ConfigDescription(
"Clicking outside of a popup dialog will close the dialog",
null,
new ConfigurationManagerAttributes { IsAdvanced = true })));
// Input
configEntries.Add(UseHomeEnd = config.Bind(
InputSection,