control mask: add auto-mask and auto-segment and support for algo masking and rembg masking

This commit is contained in:
Vladimir Mandic
2024-01-16 12:47:39 -05:00
parent 18087f1d14
commit b1fa002ea7
7 changed files with 163 additions and 76 deletions
+3 -3
View File
@@ -343,10 +343,10 @@ function setupExtraNetworksForTab(tabname) {
let searchTimer = null;
txtSearchValue.addEventListener('input', (evt) => {
if (searchTimer) clearTimeout(searchTimer);
searchTimer = setTimeout(() => {
filterExtraNetworksForTab(txtSearchValue.value.toLowerCase());
searchTimer = setTimeout(async () => {
await filterExtraNetworksForTab(txtSearchValue.value.toLowerCase());
searchTimer = null;
}, 150);
}, 50);
});
// card hover