From: Vincent Vanwaelscappel Date: Wed, 23 Aug 2023 11:42:29 +0000 (+0200) Subject: wait #6209 @0.75 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=8c324c1104280e7beb21b25b16289b3149790e47;p=fluidbook-toolbox.git wait #6209 @0.75 --- 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; }