mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 11:11:53 +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
|
* @return {LGraphGroup | null} the group or null
|
||||||
*/
|
*/
|
||||||
getGroupOnPos(x, y, {margin = 2} = {}) {
|
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