Skip to content

Commit a6f8329

Browse files
authored
We now use normal blending instead of using Mix::Clip / the clip_layer (#3454)
* We now use normal blending instead of using Mix::Clip / the clip_layer * Revert the revert for the clip using SrcOver
1 parent fb0fab0 commit a6f8329

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

node-graph/libraries/rendering/src/renderer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ impl Render for Table<Graphic> {
622622

623623
scene.push_layer(peniko::Mix::Normal, 1., kurbo::Affine::IDENTITY, &rect);
624624
mask_element.render_to_vello(scene, transform_mask, context, &render_params.for_clipper());
625-
scene.push_clip_layer(kurbo::Affine::IDENTITY, &rect);
625+
scene.push_layer(peniko::BlendMode::new(peniko::Mix::Normal, peniko::Compose::SrcIn), 1., kurbo::Affine::IDENTITY, &rect);
626626
}
627627

628628
row.element.render_to_vello(scene, transform, context, render_params);

0 commit comments

Comments
 (0)