Skip to content

Commit

Permalink
Merge branch 'master' of github.com:binary-com/SmartCharts into flutt…
Browse files Browse the repository at this point in the history
…er-chart
  • Loading branch information
balakrishna-deriv committed Dec 29, 2023
2 parents 86f85a0 + 37c29b8 commit 9aa0944
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 5 additions & 2 deletions src/components/PriceLine.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ const PriceLine = ({
backgroundColor: color,
width: isOverlappingWithPriceLine ? overlappedBarrierWidth : width,
opacity,
right: (isOverlappingWithPriceLine ? width - overlappedBarrierWidth : 0) + (isMobile ? 20 : 4),
right:
(isOverlappingWithPriceLine ? width - overlappedBarrierWidth : 0) + (isMobile ? 20 : 4),
}}
>
<HamburgerDragIcon />
Expand All @@ -120,7 +121,9 @@ const PriceLine = ({
/>
)}
</div>
{title && <PriceLineTitle color={color} title={title} yAxiswidth={overlappedBarrierWidth} opacity={opacity} />}
{title && (
<PriceLineTitle color={color} title={title} yAxiswidth={overlappedBarrierWidth} opacity={opacity} />
)}
</div>
</div>
);
Expand Down
1 change: 0 additions & 1 deletion src/store/PriceLineStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,6 @@ export default class PriceLineStore {
if (i === current_barrier_idx) {
continue;
}

const barrier = filtered_barriers[i];
const diffTop = barrier._high_barrier.top && Math.abs(barrier._high_barrier.top - top);

Expand Down

0 comments on commit 9aa0944

Please sign in to comment.