Skip to content

Commit

Permalink
Merge pull request #1727 from stakwork/bugfix/link-names
Browse files Browse the repository at this point in the history
fix: fix for links name
  • Loading branch information
Rassl authored Jun 24, 2024
2 parents 635b7b0 + 09151e1 commit 065d21e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { useFrame, useThree } from '@react-three/fiber'
import { useRef } from 'react'
import { Group, Vector3 } from 'three'
import { getLoopControlPoints, truncateText } from '~/components/ModalsContainer/BlueprintModal/Body/Editor/utils'
import { fontProps } from '~/components/Universe/Graph/Cubes/Text/constants'
import { SchemaLink } from '~/network/fetchSourcesData'
import { SchemaExtended } from '../../../types'
import { NODE_RADIUS } from '../constants'
Expand Down Expand Up @@ -188,7 +189,7 @@ export const Lines = ({ links, nodes, onEdgeClick }: Props) => {
anchorX="center"
anchorY="middle"
color="white"
fontSize={4}
{...fontProps}
lineHeight={1}
maxWidth={20}
onClick={() => handleEdgeClick(link.edge_type, link.source, link.target, link.ref_id)}
Expand Down

0 comments on commit 065d21e

Please sign in to comment.