better single-image removal handling
This commit is contained in:
parent
aa46501b2e
commit
b52e3dc2ba
2 changed files with 2 additions and 2 deletions
|
@ -381,7 +381,7 @@
|
|||
src="js/ui/tool/generic.js?v=3e678e0"
|
||||
type="text/javascript"></script>
|
||||
|
||||
<script src="js/ui/tool/dream.js?v=eb98dc9" type="text/javascript"></script>
|
||||
<script src="js/ui/tool/dream.js?v=e5adb06" type="text/javascript"></script>
|
||||
<script
|
||||
src="js/ui/tool/maskbrush.js?v=1e8a893"
|
||||
type="text/javascript"></script>
|
||||
|
|
|
@ -521,7 +521,7 @@ const _generate = async (endpoint, request, bb, options = {}) => {
|
|||
if (!images[at]) return;
|
||||
images.splice(at, 1);
|
||||
seeds.splice(at, 1);
|
||||
if (at >= images.length) at = 0;
|
||||
if (at > images.length - 1) prevImg();
|
||||
imageindextxt.textContent = `${at}/${images.length - 1}`;
|
||||
var seed = seeds[at];
|
||||
seedbtn.title = "Use seed " + seed;
|
||||
|
|
Loading…
Reference in a new issue