Skip to content

Commit

Permalink
fix(dom): missing render_info update before move operation
Browse files Browse the repository at this point in the history
  • Loading branch information
wwwcg committed May 6, 2024
1 parent c6d9593 commit 07a533f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dom/src/dom/layer_optimized_render_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ void LayerOptimizedRenderManager::UpdateRenderNode(std::weak_ptr<RootNode> root_
std::vector<int32_t> moved_ids;
moved_ids.reserve(moved_children.size());
for (const auto& moved_node : moved_children) {
UpdateRenderInfo(moved_node);
moved_ids.push_back(footstone::check::checked_numeric_cast<uint32_t, int32_t>(moved_node->GetId()));
}
MoveRenderNode(root_node, std::move(moved_ids),
Expand Down

0 comments on commit 07a533f

Please sign in to comment.