mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-10 01:50:08 +00:00
Fix group title detect (#118)
This commit is contained in:
@@ -1639,7 +1639,7 @@ const globalExport = {};
|
||||
* @return {LGraphGroup | null} the group or null
|
||||
*/
|
||||
getGroupOnPos(x, y, {margin = 2} = {}) {
|
||||
return this._groups.reverse().find(g => g.isPointInside(x, y, margin));
|
||||
return this._groups.reverse().find(g => g.isPointInside(x, y, margin, /* skip_title */true));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user