Skip to content

Commit

Permalink
chore: typo in arg name
Browse files Browse the repository at this point in the history
  • Loading branch information
disyakidneyshot committed Oct 12, 2023
1 parent 7a88453 commit e94f38a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/chart/components/y_axis/label-color.functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const DEFAULT_LABEL_COLOR = '#FF00FF';
export function getPlainLabelTextColor(
colorsConfig: FullChartColors,
textColor: string,
inversedTextColor: string,
invertedTextColor: string,
yAxisState: YAxisConfig,
) {
// `plain` label is transparent, so to calculate text color
Expand All @@ -32,7 +32,7 @@ export function getPlainLabelTextColor(

const bgColor = yAxisBGColor === 'transparent' ? chartBGColor : yAxisBGColor;

return getLabelTextColorByBackgroundColor(bgColor, textColor, inversedTextColor);
return getLabelTextColorByBackgroundColor(bgColor, textColor, invertedTextColor);
}

export const getPrimaryLabelTextColor = (lastPriceMovement: PriceMovement, colors: YAxisLabelsColors): string => {
Expand Down

0 comments on commit e94f38a

Please sign in to comment.