"...composable_kernel_onnx.git" did not exist on "ac62d13ecdf1d959e62582a6bce017d6e4f90692"
Commit 0764bb52 authored by comfyanonymous's avatar comfyanonymous
Browse files

Move node properties panel from double click to menu option.

parent c092ffcc
...@@ -7294,10 +7294,6 @@ LGraphNode.prototype.executeAction = function(action) ...@@ -7294,10 +7294,6 @@ LGraphNode.prototype.executeAction = function(action)
if (this.onShowNodePanel) { if (this.onShowNodePanel) {
this.onShowNodePanel(n); this.onShowNodePanel(n);
} }
else
{
this.showShowNodePanel(n);
}
if (this.onNodeDblClicked) { if (this.onNodeDblClicked) {
this.onNodeDblClicked(n); this.onNodeDblClicked(n);
...@@ -13071,6 +13067,10 @@ LGraphNode.prototype.executeAction = function(action) ...@@ -13071,6 +13067,10 @@ LGraphNode.prototype.executeAction = function(action)
has_submenu: true, has_submenu: true,
callback: LGraphCanvas.onShowMenuNodeProperties callback: LGraphCanvas.onShowMenuNodeProperties
}, },
{
content: "Properties Panel",
callback: function(item, options, e, menu, node) { LGraphCanvas.active_canvas.showShowNodePanel(node) }
},
null, null,
{ {
content: "Title", content: "Title",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment