]> _ Git - fluidbook-toolbox.git/commitdiff
wait #6209 @0.75
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 23 Aug 2023 11:42:29 +0000 (13:42 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 23 Aug 2023 11:42:29 +0000 (13:42 +0200)
app/Elearning/QuizCompiler/Animations.php

index be1b67eb84b4b1d6384750906fd8dcc8d7369570..3301c31d1020982dac42c0890a3bce18ff5ac08d 100644 (file)
@@ -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;
             }