Index: Source/devtools/front_end/elements/AnimationTimeline.js |
diff --git a/Source/devtools/front_end/elements/AnimationTimeline.js b/Source/devtools/front_end/elements/AnimationTimeline.js |
index 707610cc71299640ab43b1a8c6948d33d5605623..fa9c473dc3eb563bfc39b064c09a2cd2ff36905e 100644 |
--- a/Source/devtools/front_end/elements/AnimationTimeline.js |
+++ b/Source/devtools/front_end/elements/AnimationTimeline.js |
@@ -790,11 +790,10 @@ WebInspector.AnimationUI.prototype = { |
var duration = this._duration(); |
this._setDelay(delay); |
this._setDuration(duration); |
- // FIXME: Transition timing updates currently not supported |
- if (this._animation.type() == "WebAnimation") { |
+ if (this._animation.type() !== "CSSAnimation") { |
var target = WebInspector.targetManager.mainTarget(); |
if (target) |
- target.animationAgent().setTiming(this._animation.id(), duration, delay); |
+ target.animationAgent().setTiming(this._animation.id(), duration, delay, this._animation.type() === "CSSTransition"); |
} |
} |