mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-08-26 13:50:18 +02:00
Run 'resizeInpaintingEditor' once when 'maskSetting' is changed.
This commit is contained in:
@@ -1140,6 +1140,7 @@ initImageClearBtn.addEventListener('click', function() {
|
|||||||
|
|
||||||
maskSetting.addEventListener('click', function() {
|
maskSetting.addEventListener('click', function() {
|
||||||
inpaintingEditorContainer.style.display = (this.checked ? 'block' : 'none')
|
inpaintingEditorContainer.style.display = (this.checked ? 'block' : 'none')
|
||||||
|
resizeInpaintingEditor()
|
||||||
})
|
})
|
||||||
|
|
||||||
promptsFromFileBtn.addEventListener('click', function() {
|
promptsFromFileBtn.addEventListener('click', function() {
|
||||||
|
Reference in New Issue
Block a user