forked from extern/easydiffusion
Fix a bug where the custom image modifiers button would close the modifiers panel
This commit is contained in:
parent
1bebaf933d
commit
bca98269bb
@ -293,7 +293,7 @@
|
||||
<script src="media/js/plugins.js?v=1"></script>
|
||||
<script src="media/js/utils.js?v=6"></script>
|
||||
<script src="media/js/inpainting-editor.js?v=1"></script>
|
||||
<script src="media/js/image-modifiers.js?v=5"></script>
|
||||
<script src="media/js/image-modifiers.js?v=6"></script>
|
||||
<script src="media/js/auto-save.js?v=6"></script>
|
||||
<script src="media/js/main.js?v=9"></script>
|
||||
<script src="media/js/themes.js?v=4"></script>
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user