mirror of
https://github.com/vladmandic/automatic
synced 2026-09-08 22:08:42 +02:00
update lora
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
* temporary fix for https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/668
|
||||
* @see https://github.com/gradio-app/gradio/issues/1721
|
||||
*/
|
||||
window.addEventListener('resize', () => imageMaskResize());
|
||||
function imageMaskResize() {
|
||||
const canvases = gradioApp().querySelectorAll('#img2maskimg .touch-none canvas');
|
||||
if (!canvases.length) {
|
||||
@@ -42,4 +41,5 @@ function imageMaskResize() {
|
||||
});
|
||||
}
|
||||
|
||||
window.addEventListener('resize', imageMaskResize);
|
||||
onUiUpdate(() => imageMaskResize());
|
||||
|
||||
Reference in New Issue
Block a user