Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Move properties panel from double click to menu option.
  • Loading branch information
comfyanonymous committed Dec 21, 2023
commit adbbc53fa4dc60cb9073c8061fdc631a4934ce15
8 changes: 4 additions & 4 deletions src/litegraph.js
Original file line number Diff line number Diff line change
Expand Up @@ -7362,10 +7362,6 @@ LGraphNode.prototype.executeAction = function(action)
if (this.onShowNodePanel) {
this.onShowNodePanel(n);
}
else
{
this.showShowNodePanel(n);
}

if (this.onNodeDblClicked) {
this.onNodeDblClicked(n);
Expand Down Expand Up @@ -13143,6 +13139,10 @@ LGraphNode.prototype.executeAction = function(action)
has_submenu: true,
callback: LGraphCanvas.onShowMenuNodeProperties
},
{
content: "Properties Panel",
callback: function(item, options, e, menu, node) { LGraphCanvas.active_canvas.showShowNodePanel(node) }
},
null,
{
content: "Title",
Expand Down