mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-01 19:20:10 +00:00
combo widget now supports callback to get possible values
This commit is contained in:
@@ -64,6 +64,13 @@ Subgraph.prototype.onDrawTitle = function(ctx)
|
||||
ctx.fill();
|
||||
}
|
||||
|
||||
Subgraph.prototype.onDblClick = function(e,pos,graphcanvas)
|
||||
{
|
||||
var that = this;
|
||||
setTimeout(function(){ graphcanvas.openSubgraph( that.subgraph ); },10 );
|
||||
}
|
||||
|
||||
|
||||
Subgraph.prototype.onMouseDown = function(e,pos,graphcanvas)
|
||||
{
|
||||
if( !this.flags.collapsed && pos[0] > this.size[0] - LiteGraph.NODE_TITLE_HEIGHT && pos[1] < 0 )
|
||||
|
||||
Reference in New Issue
Block a user