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