Shapes Background #164

Merged
a258wang merged 33 commits from feat/shapes-background into main 2021-08-27 01:45:16 -04:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 9574952d15 - Show all commits

View File

@ -271,7 +271,7 @@ function getRandomColour(): "blue" | "teal" {
}
function getRandomOpacity(colour: "blue" | "teal"): number {
if (colour == "blue") {
if (colour === "blue") {
return Math.random() < 0.8 ? 20 : 25;
} else {
return Math.random() < 0.8 ? 25 : 30;