Skip to content

Commit

Permalink
Merge pull request #403 from jnyfil/master
Browse files Browse the repository at this point in the history
Fix auto-open bug in context menu
  • Loading branch information
jagenjo committed Jul 17, 2023
2 parents 23c300b + cf3d2d1 commit 31d7f90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/litegraph.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 31d7f90

Please sign in to comment.