mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-12-29 10:29:22 +01:00
backdrop and drag handlers
This commit is contained in:
parent
c6d6446606
commit
0d9d01c9f5
@ -577,7 +577,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<i class="fa-solid fa-magnifying-glass"></i>
|
<i class="fa-solid fa-magnifying-glass"></i>
|
||||||
<input id="embeddings-search-box" type="text" spellcheck="false" autocomplete="off">
|
<input id="embeddings-search-box" type="text" spellcheck="false" autocomplete="off" placeholder="Search...">
|
||||||
<span style="float:right;"><label>Mode:</label> <select id="embeddings-mode"><option value="insert">Insert at cursor position</option><option value="append">Append at the end</option></select>
|
<span style="float:right;"><label>Mode:</label> <select id="embeddings-mode"><option value="insert">Insert at cursor position</option><option value="append">Append at the end</option></select>
|
||||||
</div>
|
</div>
|
||||||
<div id="embeddings-list">
|
<div id="embeddings-list">
|
||||||
|
@ -2202,6 +2202,10 @@ embeddingsSearchBox.addEventListener("input", (e) => {
|
|||||||
updateEmbeddingsList(embeddingsSearchBox.value)
|
updateEmbeddingsList(embeddingsSearchBox.value)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
modalDialogCloseOnBackdropClick(embeddingsDialog)
|
||||||
|
makeDialogDraggable(embeddingsDialog)
|
||||||
|
|
||||||
|
|
||||||
if (testDiffusers.checked) {
|
if (testDiffusers.checked) {
|
||||||
document.getElementById("embeddings-container").classList.remove("displayNone")
|
document.getElementById("embeddings-container").classList.remove("displayNone")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user