Add setting to hide status condition view

Likely will be moved to the bottom right corner and shown with a language-less sprite. Feature preview on main :)
This commit is contained in:
Kurt 2024-04-17 00:44:31 -05:00
parent 35bf97eaf1
commit f630ad8271
2 changed files with 4 additions and 0 deletions

View file

@ -1933,6 +1933,7 @@ public sealed partial class PKMEditor : UserControl, IMainEditor
Contest.ToggleInterface(Entity, Entity.Context); Contest.ToggleInterface(Entity, Entity.Context);
if (t is not IFormArgument) if (t is not IFormArgument)
L_FormArgument.Visible = false; L_FormArgument.Visible = false;
StatusView.Visible = Main.Settings.EntityEditor.ShowStatusCondition;
ToggleInterface(Entity.Format); ToggleInterface(Entity.Format);
} }

View file

@ -310,6 +310,9 @@ public sealed class EntityEditorSettings
[LocalizedDescription("When showing a Generation 1 format entity, show the gender it would have if transferred to other generations.")] [LocalizedDescription("When showing a Generation 1 format entity, show the gender it would have if transferred to other generations.")]
public bool ShowGenderGen1 { get; set; } public bool ShowGenderGen1 { get; set; }
[LocalizedDescription("When showing an entity, show any stored Status Condition (Sleep/Burn/etc) it may have.")]
public bool ShowStatusCondition { get; set; } = true;
} }
public sealed class EncounterDatabaseSettings public sealed class EncounterDatabaseSettings