Fix a bug where the custom image modifiers button would close the modifiers panel

This commit is contained in:
cmdr2
2022-11-09 13:46:50 +05:30
parent 1bebaf933d
commit bca98269bb
2 changed files with 3 additions and 2 deletions

View File

@ -244,8 +244,9 @@ function resizeModifierCards(val) {
modifierCardSizeSlider.onchange = () => resizeModifierCards(modifierCardSizeSlider.value)
previewImageField.onchange = () => changePreviewImages(previewImageField.value)
modifierSettingsBtn.addEventListener('click', function() {
modifierSettingsBtn.addEventListener('click', function(e) {
modifierSettingsOverlay.classList.add("active")
e.stopPropagation()
})
function saveCustomModifiers() {