Skip to content

Commit

Permalink
remove animation
Browse files Browse the repository at this point in the history
  • Loading branch information
notTamion committed Nov 20, 2024
1 parent e461953 commit 3930668
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
5 changes: 0 additions & 5 deletions frontend/src/ts/test/funbox/funbox-validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,10 +310,6 @@ export function areFunboxesCompatible(
funboxesToCheck.filter((f) =>
f.cssModification?.find((fc) => fc === "body")
).length <= 1;
const oneChangesAnimationCSS =
funboxesToCheck.filter((f) =>
f.cssModification?.find((fc) => fc === "animation")
).length <= 1;
const oneChangesMainCSS =
funboxesToCheck.filter((f) =>
f.cssModification?.find((fc) => fc === "main")
Expand Down Expand Up @@ -360,7 +356,6 @@ export function areFunboxesCompatible(
oneChangesTypingTestCSS &&
oneChangesWordsCSS &&
oneChangesBodyCSS &&
oneChangesAnimationCSS &&
oneChangesMainCSS &&
noConfigConflicts
);
Expand Down
7 changes: 1 addition & 6 deletions frontend/src/ts/utils/json-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -342,12 +342,7 @@ type FunboxProperty =
| "noInfiniteDuration"
| "changesWordsFrequency"
| `wordOrder:${FunboxWordOrder}`;
type FunboxCSSModifications =
| "typingTest"
| "words"
| "body"
| "animation"
| "main";
type FunboxCSSModifications = "typingTest" | "words" | "body" | "main";

export type FunboxForcedConfig = Record<string, ConfigValue[]>;

Expand Down

0 comments on commit 3930668

Please sign in to comment.