mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-26 17:55:24 +03:00
chore: add prefer template rule
This commit is contained in:
parent
27b3afbca7
commit
8cf9473c88
36 changed files with 277 additions and 276 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue