Sync litegraph with repo.

https://github.com/comfyanonymous/litegraph.js/pull/4
This commit is contained in:
comfyanonymous 2024-01-23 20:01:37 -05:00
parent 3762e676a9
commit b9911dcb2f

View File

@ -11496,7 +11496,7 @@ LGraphNode.prototype.executeAction = function(action)
} }
timeout_close = setTimeout(function() { timeout_close = setTimeout(function() {
dialog.close(); 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 filtering, check focus changed to comboboxes and prevent closing
if (options.do_type_filter){ if (options.do_type_filter){