Skip to content

Commit

Permalink
Merge branch 'master' into feat_seperate_y_axis
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadtaimoor-deriv authored May 20, 2024
2 parents 1a4bf60 + 8bc402b commit be10ee0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/StudyLegend.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,11 @@ const IndicatorList = ({
: `${Item.name} ${Item.bars ? `(${Item.bars})` : ''}`
}
>
<div className='info' onClick={() => (onSelectItem ? onSelectItem(Item.flutter_chart_id) : null)}>
<div
className='info'
onClick={() => onSelectItem?.(Item.flutter_chart_id)}
onTouchEnd={() => onSelectItem?.(Item.flutter_chart_id)}
>
<StudyIcon Icon={Item.icon} />
<div className='text'>
<span>{onDeleteItem ? Item.short_name_and_index : Item.name}</span>
Expand Down

0 comments on commit be10ee0

Please sign in to comment.