Update lightbox with images generated while it is open

This removes the need to close and re-open the lightbox to view images
that were completed while it was open.
This commit is contained in:
Torbjörn Lönnemark
2024-03-23 16:31:07 +01:00
parent 2b35fab29e
commit 865094ca5b
2 changed files with 12 additions and 0 deletions
+2
View File
@@ -438,6 +438,8 @@ app.registerExtension({
),
])
);
// If lightbox is open, update it with new image
lightbox.updateWithNewImage(href, feedDirection.value);
}
}
});