Skip to content

Commit d181749

Browse files
committed
fix(core): fix animation update prop for two node using one animation
1 parent df95fc7 commit d181749

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dom/src/dom/animation/animation_manager.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ void AnimationManager::EmplaceNodeProp(const std::shared_ptr<DomNode>& node, con
7070
}
7171
auto animation = GetAnimation(animation_id);
7272
if (animation) {
73-
node->EmplaceStyleMap(prop, HippyValue(animation->GetStartValue()));
73+
node->EmplaceStyleMap(prop, HippyValue(animation->GetCurrentValue()));
7474
}
7575
}
7676

0 commit comments

Comments
 (0)