From 3930668e8a337bf953b1432d2c7b8da7a21324b2 Mon Sep 17 00:00:00 2001 From: Tamion <70228790+notTamion@users.noreply.github.com> Date: Wed, 20 Nov 2024 17:03:56 +0100 Subject: [PATCH] remove animation --- frontend/src/ts/test/funbox/funbox-validation.ts | 5 ----- frontend/src/ts/utils/json-data.ts | 7 +------ 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/frontend/src/ts/test/funbox/funbox-validation.ts b/frontend/src/ts/test/funbox/funbox-validation.ts index d766d3ec6a81e..e64b884723d63 100644 --- a/frontend/src/ts/test/funbox/funbox-validation.ts +++ b/frontend/src/ts/test/funbox/funbox-validation.ts @@ -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") @@ -360,7 +356,6 @@ export function areFunboxesCompatible( oneChangesTypingTestCSS && oneChangesWordsCSS && oneChangesBodyCSS && - oneChangesAnimationCSS && oneChangesMainCSS && noConfigConflicts ); diff --git a/frontend/src/ts/utils/json-data.ts b/frontend/src/ts/utils/json-data.ts index f1bd48199a5da..0fbd09b68db51 100644 --- a/frontend/src/ts/utils/json-data.ts +++ b/frontend/src/ts/utils/json-data.ts @@ -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;