add show player name instead of notes

This commit is contained in:
Stanley Dimant
2023-01-30 11:16:43 +01:00
parent 0a32020a56
commit c403e7b45b
3 changed files with 28 additions and 1 deletions

View File

@@ -458,6 +458,25 @@ public class SettingsUi : Window, IDisposable
UiShared.DrawHelpText("This will open a popup that allows you to set the notes for a user after successfully adding them to your individual pairs.");
ImGui.Separator();
UiShared.FontText("UI", _uiShared.UidFont);
var showNameInsteadOfNotes = _configService.Current.ShowCharacterNameInsteadOfNotesForVisible;
var reverseUserSort = _configService.Current.ReverseUserSort;
if (ImGui.Checkbox("Show player name instead of note for visible players", ref showNameInsteadOfNotes))
{
_configService.Current.ShowCharacterNameInsteadOfNotesForVisible = showNameInsteadOfNotes;
_configService.Save();
}
UiShared.DrawHelpText("This will show the character name instead of custom set note when visible");
if (ImGui.Checkbox("Reverse user sort", ref reverseUserSort))
{
_configService.Current.ReverseUserSort = reverseUserSort;
_configService.Save();
}
UiShared.DrawHelpText("This reverses the user sort from A->Z to Z->A");
ImGui.Separator();
UiShared.FontText("Server Messages", _uiShared.UidFont);
if (ImGui.Checkbox("Hide Server Info Messages", ref hideInfoMessages))
{