Skip to content

Commit

Permalink
[desk-tool] Decrease the stroke width of the connector path respondin…
Browse files Browse the repository at this point in the history
…g to pointer events
  • Loading branch information
bjoerge authored and rexxars committed Oct 6, 2020
1 parent 9f052bc commit 506161f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,12 @@ export function Connector(props: Props & Omit<React.ComponentProps<'path'>, 'fro
<path
d={sensitivePath}
fill="none"
// use to debug "clickable area" stroke="rgba(100, 100, 0, 0.4)"
// note: make sure to leave room for the scrollbar
stroke="none"
onMouseEnter={props.onMouseEnter}
onMouseLeave={props.onMouseLeave}
strokeWidth={STROKE_WIDTH + 20}
strokeWidth={STROKE_WIDTH + 10}
style={{
pointerEvents: 'all',
backgroundColor: 'blue'
Expand Down

0 comments on commit 506161f

Please sign in to comment.