mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-29 18:52:19 +00:00
[Bug] Show widget slot when slot is hovered (#929)
Resolves https://github.com/Comfy-Org/litegraph.js/issues/925 https://github.com/user-attachments/assets/81bd6ce3-6feb-456a-9bb3-e512008b2e63
This commit is contained in:
@@ -3593,6 +3593,7 @@ export class LGraphNode implements Positionable, IPinnable, IColorable {
|
|||||||
// - the slot is valid during link drop
|
// - the slot is valid during link drop
|
||||||
// - the slot is connected
|
// - the slot is connected
|
||||||
const showSlot = !isWidgetInputSlot(slot) ||
|
const showSlot = !isWidgetInputSlot(slot) ||
|
||||||
|
this.#isMouseOverSlot(slot) ||
|
||||||
this.#isMouseOverWidget(this.getWidgetFromSlot(slot)!) ||
|
this.#isMouseOverWidget(this.getWidgetFromSlot(slot)!) ||
|
||||||
(fromSlot && slotInstance.isValidTarget(fromSlot)) ||
|
(fromSlot && slotInstance.isValidTarget(fromSlot)) ||
|
||||||
slotInstance.isConnected()
|
slotInstance.isConnected()
|
||||||
|
|||||||
Reference in New Issue
Block a user