New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recurse to children of empty ClipScrollNodes #2249
Changes from all commits
File filter...
Jump to…
| @@ -417,17 +417,18 @@ impl ClipScrollTree { | ||
|
|
||
| node.push_gpu_node_data(gpu_node_data); | ||
|
|
||
| if node.children.is_empty() || node.combined_clip_outer_bounds.is_empty() { | ||
mrobinson
Author
Member
|
||
| return | ||
| if node.children.is_empty() { | ||
| return; | ||
| } | ||
|
|
||
|
|
||
| node.prepare_state_for_children(&mut state); | ||
| node.children.clone() | ||
| }; | ||
|
|
||
| for child_layer_id in node_children { | ||
| for child_node_id in node_children { | ||
| self.update_node( | ||
| child_layer_id, | ||
| child_node_id, | ||
| &mut state, | ||
| next_coordinate_system_id, | ||
| device_pixel_scale, | ||
so why can we not check for the outer bounds here?