mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 21:27:21 +01:00
some profile ui rework
This commit is contained in:
parent
814b24ebd8
commit
38d83eff77
17 changed files with 582 additions and 210 deletions
|
|
@ -495,6 +495,7 @@ public class SettingsUi : WindowMediatorSubscriberBase
|
|||
var showProfiles = _configService.Current.ProfilesShow;
|
||||
var showNsfwProfiles = _configService.Current.ProfilesAllowNsfw;
|
||||
var profileDelay = _configService.Current.ProfileDelay;
|
||||
var profileOnRight = _configService.Current.ProfilePopoutRight;
|
||||
|
||||
if (ImGui.Checkbox("Show separate Visible group", ref showVisibleSeparate))
|
||||
{
|
||||
|
|
@ -526,6 +527,13 @@ public class SettingsUi : WindowMediatorSubscriberBase
|
|||
UiSharedService.DrawHelpText("This will show the configured user profile after a set delay");
|
||||
ImGui.Indent();
|
||||
if (!showProfiles) ImGui.BeginDisabled();
|
||||
if (ImGui.Checkbox("Popout profiles on the right", ref profileOnRight))
|
||||
{
|
||||
_configService.Current.ProfilePopoutRight = profileOnRight;
|
||||
_configService.Save();
|
||||
Mediator.Publish(new CompactUiChange(Vector2.Zero, Vector2.Zero));
|
||||
}
|
||||
UiSharedService.DrawHelpText("Will show profiles on the right side of the main UI");
|
||||
if (ImGui.Checkbox("Show profiles marked as NSFW", ref showNsfwProfiles))
|
||||
{
|
||||
Mediator.Publish(new ClearProfileDataMessage());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue