mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-20 06:44:32 +00:00
Fix fast widget connect indicator (#751)
Remains as visual artifact when pointer leaves widget.
This commit is contained in:
@@ -2622,6 +2622,9 @@ export class LGraphCanvas implements ConnectionColorContext {
|
||||
node.mouseOver.outputId = outputId
|
||||
node.mouseOver.overWidget = overWidget
|
||||
|
||||
// State reset
|
||||
linkConnector.overWidget = undefined
|
||||
|
||||
// Check if link is over anything it could connect to - record position of valid target for snap / highlight
|
||||
if (linkConnector.isConnecting) {
|
||||
const firstLink = linkConnector.renderLinks.at(0)
|
||||
|
||||
Reference in New Issue
Block a user