Skip to content

Commit

Permalink
Merge branch 'v0.2.0' into accept-negative-values
Browse files Browse the repository at this point in the history
  • Loading branch information
flixlix authored Apr 14, 2024
2 parents 08ab58a + 2e2e2bc commit 03b4c9a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/style/all.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,6 @@ export const allDynamicStyles = (
const colors = ["#d0cc5b", "#964cb5", "#b54c9d", "#5bd0cc"];
const fieldNames: string[] = ["left-top", "left-bottom", "right-top", "right-bottom"];

if (!fieldNames?.[index]) {
console.log("\x1b[41m%s\x1b[0m", "src/style/all.ts:230 field, index", field, index);
}
const fieldName = fieldNames?.[index] || "left-top";

let individualColor = field?.color;
Expand Down

0 comments on commit 03b4c9a

Please sign in to comment.