]> _ Git - odl.git/commitdiff
wip #5179 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 30 Mar 2022 13:48:04 +0000 (15:48 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 30 Mar 2022 13:48:04 +0000 (15:48 +0200)
app/Jobs/ProcessFluidbook.php

index 28598e56922be75f8126b8971cc4a8db291a3fc5..b141467c06dc39175d0decbf2e5da7e3d379369e 100644 (file)
@@ -150,18 +150,13 @@ class ProcessFluidbook extends Compiler
             if ($ee[0] == 'anim') {
                 $base = [['type' => '', 'ease' => 'Power2.easeOut', 'duration' => 1.5, 'transformOrigin' => 'center', 'delay' => 1], []];
                 switch ($ee[1]) {
+                    case 'appearfromtop':
+                    case 'appearfrombottom':
                     case 'fadein':
                         $link['type'] = 14;
                         $base[0]['type'] = 'fadeout';
                         $base[0]['ease'] = 'Power0.easeInOut';
                         break;
-                    case 'appearfromtop':
-                    case 'appearfrombottom':
-                        $link['type'] = 39;
-                        $base[0]['type'] = 'translatefrom';
-                        $base[0]['y'] = 100 * ($ee[1] == 'appearfromtop' ? -1 : 1);
-                        $base[1]['type'] = 'fadein';
-                        break;
                     case 'zoomout':
                         $link['type'] = 39;
                         $base[0]['type'] = 'zoomout';