Zero and reset remaining intro time
This commit is contained in:
parent
3139c15eb1
commit
e710efe961
@ -227,7 +227,7 @@ public class PluginConfiguration : BasePluginConfiguration
|
||||
/// <summary>
|
||||
/// Gets or sets the amount of intro to play (in seconds).
|
||||
/// </summary>
|
||||
public int RemainingSecondsOfIntro { get; set; } = 2;
|
||||
public int RemainingSecondsOfIntro { get; set; };
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the amount of intro at start to play (in seconds).
|
||||
|
@ -935,6 +935,8 @@
|
||||
|
||||
persistSkip.addEventListener("change", persistSkipChanged);
|
||||
|
||||
var remainingSecondsOfIntro = document.getElementById("RemainingSecondsOfIntro")
|
||||
|
||||
async function pluginSkipSettingChanged() {
|
||||
if (pluginSkip.checked) {
|
||||
serverSkipSettings.style.display = "unset";
|
||||
@ -944,6 +946,7 @@
|
||||
autoSkip.checked = false;
|
||||
skipButtonVisible.checked = false;
|
||||
persistSkip.checked = false;
|
||||
remainingSecondsOfIntro.value = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user