Bug 1452926 - add easing back to videocontrol control animations, r?timdream draft
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Tue, 10 Apr 2018 14:44:21 +0100
changeset 779752 b03d18e3a35baf62664c5c9f2c6f35daa4a604e3
parent 778495 5bc815b7de6dc7494e3010f823fb79aa351e8fe3
push id105853
push userbmo:gijskruitbosch+bugs@gmail.com
push dateTue, 10 Apr 2018 13:45:04 +0000
reviewerstimdream
bugs1452926
milestone61.0a1
Bug 1452926 - add easing back to videocontrol control animations, r?timdream MozReview-Commit-ID: w8rdA1uk5H
toolkit/content/widgets/videocontrols.xml
--- a/toolkit/content/widgets/videocontrols.xml
+++ b/toolkit/content/widgets/videocontrols.xml
@@ -994,25 +994,27 @@
 
       animationProps: {
         clickToPlay: {
           keyframes: [
             { transform: "scale(3)", opacity: 0 },
             { transform: "scale(1)", opacity: 0.55 }
           ],
           options: {
+            easing: "ease",
             duration: 400
           }
         },
         controlBar: {
           keyframes: [
             { opacity: 0 },
             { opacity: 1 }
           ],
           options: {
+            easing: "ease",
             duration: 200
           }
         },
         statusOverlay: {
           keyframes: [
             { opacity: 0 },
             { opacity: 0, offset: .72 }, // ~750ms into animation
             { opacity: 1 }