Fix auto-open bug in context menu

This commit is contained in:
jnyfil
2023-07-11 19:56:28 +09:00
parent 23c300b7ac
commit cf3d2d1f71

View File

@@ -13750,7 +13750,7 @@ LGraphNode.prototype.executeAction = function(action)
if (!disabled) {
element.addEventListener("click", inner_onclick);
}
if (options.autoopen) {
if (!disabled && options.autoopen) {
LiteGraph.pointerListenerAdd(element,"enter",inner_over);
}