Fix Auto-open bug

This commit is contained in:
jnyfil 2023-07-05 18:15:00 +09:00
parent 4d1e4a07c0
commit 398f719bb1

View File

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