Skip to content

Commit cf3d2d1

Browse files
author
jnyfil
committed
Fix auto-open bug in context menu
1 parent 23c300b commit cf3d2d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/litegraph.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13750,7 +13750,7 @@ LGraphNode.prototype.executeAction = function(action)
1375013750
if (!disabled) {
1375113751
element.addEventListener("click", inner_onclick);
1375213752
}
13753-
if (options.autoopen) {
13753+
if (!disabled && options.autoopen) {
1375413754
LiteGraph.pointerListenerAdd(element,"enter",inner_over);
1375513755
}
1375613756

0 commit comments

Comments
 (0)