Skip to content

Commit

Permalink
Fixed lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
kappu committed Mar 16, 2018
1 parent 5a728b4 commit e46976f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/client/utils/ColorUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,8 @@ const ColorUtils = {
* @return (String) rgba string
*/
colorToRgbaStr: (color = "#0000FF", alpha) => {
const c = tinycolor(color);
return c.setAlpha(toNumber(alpha !== undefined ? alpha : c.getAlpha())).toRgbString()
const c = tinycolor(color);
return c.setAlpha(toNumber(alpha !== undefined ? alpha : c.getAlpha())).toRgbString();
}

};
Expand Down

0 comments on commit e46976f

Please sign in to comment.