From: Vincent Vanwaelscappel Date: Mon, 3 Feb 2020 15:06:01 +0000 (+0100) Subject: fix #3380 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=065b9b279b809e30ab332ce532f5a5a09655753a;p=fluidbook-html5.git fix #3380 @0.5 --- diff --git a/js/libs/fluidbook/fluidbook.links.js b/js/libs/fluidbook/fluidbook.links.js index 3cd475cd..90af7588 100644 --- a/js/libs/fluidbook/fluidbook.links.js +++ b/js/libs/fluidbook/fluidbook.links.js @@ -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); } diff --git a/style/fluidbook.less b/style/fluidbook.less index 2075a213..99704595 100644 --- a/style/fluidbook.less +++ b/style/fluidbook.less @@ -1264,7 +1264,10 @@ html.ios body.portrait #interface { &.textLink { white-space: nowrap; - opacity: 0; + + &[data-animation-type] { + opacity: 0; + } } }