Apply clang-format

This commit is contained in:
Simon Schneegans
2022-04-18 13:09:18 +02:00
parent ee320739c6
commit 3dd7c22d76

View File

@@ -48,14 +48,14 @@ try {
hue = Math.floor((max - val) / (max - min) * 120);
}
let sat = 100;
if(colorRangeSaturation != '') {
if (colorRangeSaturation != '') {
sat = colorRangeSaturation;
}
let lig = 40;
if(colorRangeLightness != '') {
if (colorRangeLightness != '') {
lig = colorRangeLightness;
}
content.color = "hsl(" + hue + ", " + sat + "%, " + lig + "%)";
content.color = 'hsl(' + hue + ', ' + sat + '%, ' + lig + '%)';
} else if (color != '') {
content.color = color;
}