MCPcopy Create free account
hub / github.com/Comfy-Org/litegraph.js / #isMouseOverSlot

Method #isMouseOverSlot

src/LGraphNode.ts:3645–3647  ·  view source on GitHub ↗
(slot: INodeSlot)

Source from the content-addressed store, hash-verified

3643 }
3644
3645 #isMouseOverSlot(slot: INodeSlot): boolean {
3646 return this.#getMouseOverSlot(slot) === slot
3647 }
3648
3649 #isMouseOverWidget(widget: IBaseWidget | undefined): boolean {
3650 if (!widget) return false

Callers 1

drawSlotsMethod · 0.95

Calls 1

#getMouseOverSlotMethod · 0.95

Tested by

no test coverage detected