]> _ Git - fluidbook-html5.git/commitdiff
fix #3380 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 3 Feb 2020 15:06:01 +0000 (16:06 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 3 Feb 2020 15:06:01 +0000 (16:06 +0100)
js/libs/fluidbook/fluidbook.links.js
style/fluidbook.less

index 3cd475cdb3820d94ad4b3bd260416f17c55bb44d..90af7588ad4764e9553684b49d752f2e401051e9 100644 (file)
@@ -292,9 +292,13 @@ FluidbookLinks.prototype = {
         if (animation.duration !== undefined) {
             duration = parseFloat(animation.duration);
         }
-        if (animation.ease !== undefined) {
-            to.ease = animation.ease;
+
+        if (animation.ease == undefined) {
+            animation.ease = "Power1.easeOut";
         }
+        to.ease = animation.ease;
+
+
         if (animation.delay !== undefined) {
             to.delay = parseFloat(animation.delay);
         }
index 2075a2133a65d7e15e154a202a8177482389c845..99704595c16c4d479e6795db38c8f93f2c6e130c 100644 (file)
@@ -1264,7 +1264,10 @@ html.ios body.portrait #interface {
 
   &.textLink {
     white-space: nowrap;
-    opacity: 0;
+
+    &[data-animation-type] {
+      opacity: 0;
+    }
   }
 }