Add ability to apply profiles on character selection (lobby) screen
This commit is contained in:
@@ -122,7 +122,7 @@ public class StateMonitoringTab
|
||||
ImGui.Text($"Count: {kvPair.Value.Objects.Count}");
|
||||
foreach (var item in kvPair.Value.Objects)
|
||||
{
|
||||
ImGui.Text($"{item}, valid: {item.Valid}");
|
||||
ImGui.Text($"[{item.Index}] - {item}, valid: {item.Valid}");
|
||||
}
|
||||
|
||||
ImGui.Spacing();
|
||||
|
||||
@@ -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