mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-07 16:40:05 +00:00
Polish: Make the clickable area for the slots more forgiving (#7084)
## Summary Makes the area a bit to the left and right of the dot also clickable. Addresses complaints about it being tricky to connect nodes in Nodes 2.0. --------- Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
@@ -20,7 +20,10 @@ defineExpose({
|
||||
<template>
|
||||
<div
|
||||
:class="
|
||||
cn('size-6 flex items-center justify-center group/slot', props.class)
|
||||
cn(
|
||||
'after:absolute after:inset-y-0 after:w-5/2 relative size-6 flex items-center justify-center group/slot',
|
||||
props.class
|
||||
)
|
||||
"
|
||||
>
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user