Support custom hide timeout on node search dialog (#4)

This commit is contained in:
pythongosssss
2024-01-24 00:48:42 +00:00
committed by GitHub
parent eec3575df5
commit 208eb2d006

View File

@@ -11494,7 +11494,7 @@ LGraphNode.prototype.executeAction = function(action)
}
timeout_close = setTimeout(function() {
dialog.close();
}, 500);
}, typeof options.hide_on_mouse_leave === "number" ? options.hide_on_mouse_leave : 500);
});
// if filtering, check focus changed to comboboxes and prevent closing
if (options.do_type_filter){