Make explicit which TextIndicator animations are driven manually, and which run autom...
[WebKit-https.git] / Source / WebCore / page / mac / TextIndicatorWindow.mm
index 478ab4dcf9381d87fc09c3e4da5a57785e178e76..b4a7784c737f829676eba76b5e1869e9fba93f9d 100644 (file)
@@ -275,7 +275,7 @@ static RetainPtr<CABasicAnimation> createFadeInAnimation(CFTimeInterval duration
 
     [CATransaction begin];
     for (CALayer *bounceLayer in _bounceLayers.get()) {
-        if (wantsFadeIn || wantsCrossfade)
+        if (_textIndicator->wantsManualAnimation())
             bounceLayer.speed = 0;
 
         if (!wantsFadeIn)