From 8c324c1104280e7beb21b25b16289b3149790e47 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 23 Aug 2023 13:42:29 +0200 Subject: [PATCH] wait #6209 @0.75 --- app/Elearning/QuizCompiler/Animations.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Elearning/QuizCompiler/Animations.php b/app/Elearning/QuizCompiler/Animations.php index be1b67eb8..3301c31d1 100644 --- a/app/Elearning/QuizCompiler/Animations.php +++ b/app/Elearning/QuizCompiler/Animations.php @@ -32,9 +32,10 @@ trait Animations // Replace font $font = FluidbookFont::getAvailableFonts()[$this->theme->font ?: 'SourceSans']; $animationReplace['Source Sans Pro'] = trim($font['font_family'], '"'); + $animationReplace['"fPath":"images/font_0",'] = ''; $animations = []; - foreach (Files::getDirectoryIterator($this->_resourcesPath().'/animations/') as $file) { + foreach (Files::getDirectoryIterator($this->_resourcesPath() . '/animations/') as $file) { if (!$file->isFile() || $file->getExtension() !== 'json') { continue; } -- 2.39.5