This commit is contained in:
Renan LE CARO 2025-04-22 16:29:17 +02:00
parent 16911620c0
commit b8daf018b1
20 changed files with 1824 additions and 1870 deletions

View file

@ -289,7 +289,7 @@ export async function editRawLevelList(nth: number, color = "W") {
editRawLevelList(nth, color);
}
function automaticBackgroundColor(bricks: string[]) {
export function automaticBackgroundColor(bricks: string[]) {
return bricks.filter((b) => b === "g").length >
bricks.filter((b) => b !== "_").length * 0.05
? "#115988"