Skip to content

Commit

Permalink
fix handle drag edge
Browse files Browse the repository at this point in the history
  • Loading branch information
maximun85 committed Sep 11, 2024
1 parent a33e60c commit 7a27d26
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/modules/blockchains/Buy/component4/Node/Node.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ const Node = ({
type="source"
position={Position.Right}
className={styles.handleDot}
isConnectable={false}
/>
))}
{sourceHandles?.map((handle, index) => (
Expand All @@ -62,6 +63,7 @@ const Node = ({
type="source"
position={Position.Top}
className={styles.handleDot}
isConnectable={false}
/>
))}
{sourceHandles?.map((handle, index) => (
Expand All @@ -71,6 +73,7 @@ const Node = ({
type="source"
position={Position.Left}
className={styles.handleDot}
isConnectable={false}
/>
))}
{sourceHandles?.map((handle, index) => (
Expand All @@ -79,6 +82,7 @@ const Node = ({
id={handle}
type="source"
position={Position.Bottom}
isConnectable={false}
className={styles.handleDot}
/>
))}
Expand Down
4 changes: 4 additions & 0 deletions src/modules/blockchains/Buy/component4/Node_v2/Node.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ const Node = ({
type="source"
position={Position.Right}
className={styles.handleDot}
isConnectable={false}
/>
))}
{sourceHandles?.map((handle, index) => (
Expand All @@ -60,6 +61,7 @@ const Node = ({
type="source"
position={Position.Top}
className={styles.handleDot}
isConnectable={false}
/>
))}
{sourceHandles?.map((handle, index) => (
Expand All @@ -69,6 +71,7 @@ const Node = ({
type="source"
position={Position.Left}
className={styles.handleDot}
isConnectable={false}
/>
))}
{sourceHandles?.map((handle, index) => (
Expand All @@ -78,6 +81,7 @@ const Node = ({
type="source"
position={Position.Bottom}
className={styles.handleDot}
isConnectable={false}
/>
))}
</div>
Expand Down
1 change: 1 addition & 0 deletions src/modules/blockchains/Buy/studio/Controls/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ export default memo(function StudioControls() {
id={item.key}
isRequired={item.required}
active={field[item.key].dragged}
needCheckIcon={item.required}
description={{
title: item.title,
content: item.tooltip,
Expand Down

0 comments on commit 7a27d26

Please sign in to comment.