Only notify upon disabling

This commit is contained in:
patriceac 2023-03-25 02:51:46 -07:00 committed by GitHub
parent 1c2e353fc5
commit 48b233304f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,7 +92,6 @@ const TASK_MAPPING = {
setUI: (seed) => {
if (!seed) {
randomSeedField.checked = true
randomSeedField.dispatchEvent(new Event('change')) // let plugins know that the state of the random seed toggle changed
seedField.disabled = true
seedField.value = 0
return