Reviewed by Antti.
authoradele@apple.com <adele@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 18 Jan 2008 20:58:08 +0000 (20:58 +0000)
committeradele@apple.com <adele@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 18 Jan 2008 20:58:08 +0000 (20:58 +0000)
        Fix for <rdar://problem/5679490> media controls fade in and out too jerkily and too slowly

        * rendering/RenderMedia.cpp: Shorten the duration for the fade in/out animation.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@29638 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/rendering/RenderMedia.cpp

index d30ef5b..5c0ab89 100644 (file)
@@ -1,3 +1,11 @@
+2008-01-18  Adele Peterson  <adele@apple.com>
+
+        Reviewed by Antti.
+
+        Fix for <rdar://problem/5679490> media controls fade in and out too jerkily and too slowly
+
+        * rendering/RenderMedia.cpp: Shorten the duration for the fade in/out animation.
+
 2008-01-18  Beth Dakin  <bdakin@apple.com>
 
         Reviewed by Oliver.
index ce75eeb..83c792a 100644 (file)
@@ -51,7 +51,7 @@ using namespace EventNames;
 static const double cTimeUpdateRepeatDelay = 0.2;
 static const double cOpacityAnimationRepeatDelay = 0.05;
 // FIXME get this from style
-static const double cOpacityAnimationDuration = 0.5;
+static const double cOpacityAnimationDuration = 0.1;
 
 RenderMedia::RenderMedia(HTMLMediaElement* video)
     : RenderReplaced(video)