Add ability to apply profiles on character selection (lobby) screen
This commit is contained in:
@@ -104,6 +104,7 @@ public class SettingsTab
|
||||
DrawApplyInTryOnCheckbox();
|
||||
DrawApplyInCardsCheckbox();
|
||||
DrawApplyInInspectCheckbox();
|
||||
DrawApplyInLobbyCheckbox();
|
||||
}
|
||||
|
||||
private void DrawApplyInCharacterWindowCheckbox()
|
||||
@@ -157,6 +158,19 @@ public class SettingsTab
|
||||
_armatureManager.RebindAllArmatures();
|
||||
}
|
||||
}
|
||||
|
||||
private void DrawApplyInLobbyCheckbox()
|
||||
{
|
||||
var isChecked = _configuration.ProfileApplicationSettings.ApplyInLobby;
|
||||
|
||||
if (CtrlHelper.CheckboxWithTextAndHelp("##applyinlobby", "Apply Profiles on Character Select Screen",
|
||||
"Apply appropriate profile for the character you have currently selected on character select screen during login.", ref isChecked))
|
||||
{
|
||||
_configuration.ProfileApplicationSettings.ApplyInLobby = isChecked;
|
||||
_configuration.Save();
|
||||
_armatureManager.RebindAllArmatures();
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Chat Commands Settings
|
||||
|
||||
Reference in New Issue
Block a user