Skip to content

Commit 31d7f90

Browse files
authored
Merge pull request #403 from jnyfil/master
Fix auto-open bug in context menu
2 parents 23c300b + cf3d2d1 commit 31d7f90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/litegraph.js

Lines changed: 1 addition & 1 deletion
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)