Fix key background rotation

This commit is contained in:
Arne Keller 2022-02-23 15:18:41 +01:00
parent 2936654c18
commit 8eb8cc6640

View File

@ -138,14 +138,14 @@ function makeGradient(a, b, c, d) {
return "rgb(21 94 117)";
}
const style = "conic-gradient(" +
(color[a] || OTHER) + " 0deg," +
(color[a] || OTHER) + " 90deg," +
(color[b] || OTHER) + " 0deg," +
(color[b] || OTHER) + " 90deg," +
(color[b] || OTHER) + " 180deg," +
(color[d] || OTHER) + " 90deg," +
(color[d] || OTHER) + " 180deg," +
(color[c] || OTHER) + " 180deg," +
(color[c] || OTHER) + " 270deg," +
(color[d] || OTHER) + " 270deg," +
(color[d] || OTHER) + " 360deg)";
(color[a] || OTHER) + " 270deg," +
(color[a] || OTHER) + " 360deg)";
return style;
}