From d48ea90190587a522ee43c5b9ca94adc5057bd7c Mon Sep 17 00:00:00 2001 From: TwistedUmbrellaX <1173913+AbandonedCart@users.noreply.github.com> Date: Thu, 21 Nov 2024 14:20:53 -0500 Subject: [PATCH] Hide legacy options to avoid confusion (#389) * Update configPage.html * Update configPage.html * Update configPage.html * Even more covert * Persistent to avoid accidental flush * Imply requiring save * Allow options on checked * Mention they're not injected by default * This just doesn't want to work * Use id whenever poosible * Helps to do it at the right time * Add a restart note to flush * Too many quirks for this way * Not hidden anymore * Looks better after the button --- .../Configuration/PluginConfiguration.cs | 5 + IntroSkipper/Configuration/configPage.html | 240 ++++++++++-------- 2 files changed, 139 insertions(+), 106 deletions(-) diff --git a/IntroSkipper/Configuration/PluginConfiguration.cs b/IntroSkipper/Configuration/PluginConfiguration.cs index 3189c8e..3bcf221 100644 --- a/IntroSkipper/Configuration/PluginConfiguration.cs +++ b/IntroSkipper/Configuration/PluginConfiguration.cs @@ -174,6 +174,11 @@ public class PluginConfiguration : BasePluginConfiguration /// public bool SkipButtonWarning { get => WarningManager.HasFlag(PluginWarning.UnableToAddSkipButton); } + /// + /// Gets or sets a value indicating whether plugin options are presented to the user. + /// + public bool PluginSkip { get; set; } + /// /// Gets or sets a value indicating whether introductions should be automatically skipped. /// diff --git a/IntroSkipper/Configuration/configPage.html b/IntroSkipper/Configuration/configPage.html index d135265..0956efc 100644 --- a/IntroSkipper/Configuration/configPage.html +++ b/IntroSkipper/Configuration/configPage.html @@ -300,123 +300,134 @@

EDL file generation has been removed. Please use endrl's EDL plugin.

-
- Playback +

+

+ +
+

-
- -
+
+