mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-03 06:47:33 +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 connected
|
||||
const showSlot = !isWidgetInputSlot(slot) ||
|
||||
this.#isMouseOverSlot(slot) ||
|
||||
this.#isMouseOverWidget(this.getWidgetFromSlot(slot)!) ||
|
||||
(fromSlot && slotInstance.isValidTarget(fromSlot)) ||
|
||||
slotInstance.isConnected()
|
||||
|
||||
Reference in New Issue
Block a user