Skip to content

Commit

Permalink
Fix bug on vis metric regarding applying the light theme when thebg i…
Browse files Browse the repository at this point in the history
  • Loading branch information
stratoula authored Jun 5, 2020
1 parent 830cd20 commit b035dd9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export class MetricVisComponent extends Component<MetricVisComponentProps> {
return false;
}

const [red, green, blue] = colors.slice(1).map(parseInt);
const [red, green, blue] = colors.slice(1).map((c) => parseInt(c, 10));
return isColorDark(red, green, blue);
}

Expand Down

0 comments on commit b035dd9

Please sign in to comment.