We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 502a345 commit 8b21873Copy full SHA for 8b21873
dom/src/dom/animation/animation_set.cc
@@ -78,6 +78,10 @@ void AnimationSet::Init() {
78
}
79
if (begin_animation_) {
80
start_value_ = begin_animation_->GetStartValue();
81
+ // 和Animation类似,AnimationSet这里current_value也应该用start_value初始化,
82
+ // 否则0值会有问题,比如对延迟scale动画,初始0值会导致不显示。
83
+ // 这样和Hippy2.0表现也一致。
84
+ current_value_ = start_value_;
85
delay_ = begin_animation_->GetDelay();
86
87
0 commit comments