1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-26 17:55:24 +03:00

chore: add template-curly-spacing

This commit is contained in:
Tomas Chmelevskij 2021-12-19 08:10:24 +01:00
parent 6e6c3f76ae
commit 5be4a4596a
31 changed files with 253 additions and 252 deletions

View file

@ -43,7 +43,7 @@ CSSUtil.prototype.getColorForPercentage = function(percentage, colorTable = null
b: Math.floor(lower.color.b * percentageLower + upper.color.b * percentageUpper),
a: lower.color.a * percentageLower + upper.color.a * percentageUpper,
};
return `rgba(${ [color.r, color.g, color.b, color.a].join(",") })`;
return `rgba(${[color.r, color.g, color.b, color.a].join(",")})`;
};
const cssUtil = new CSSUtil();