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 b8c496a74ba361ade64c588bb80aea30271c2c08..9506e01a9eb05dd0b2f5c98d9ec159702898ebd4 100644 |
--- a/Source/devtools/front_end/elements/AnimationTimeline.js |
+++ b/Source/devtools/front_end/elements/AnimationTimeline.js |
@@ -786,11 +786,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"); |
} |
} |