Skip to content

Commit ba04218

Browse files
fix: draw border before clip layer
1 parent 6c07a41 commit ba04218

File tree

1 file changed

+1
-1
lines changed
  • packages/blitz-renderer-vello/src/renderer

1 file changed

+1
-1
lines changed

packages/blitz-renderer-vello/src/renderer/render.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ impl VelloSceneGenerator<'_> {
439439
cx.stroke_outline(scene);
440440
cx.draw_outset_box_shadow(scene);
441441
cx.draw_background(scene);
442+
cx.stroke_border(scene);
442443

443444
if should_clip && clips_available {
444445
scene.push_layer(Mix::Clip, 1.0, cx.transform, &cx.frame.frame());
@@ -448,7 +449,6 @@ impl VelloSceneGenerator<'_> {
448449
}
449450

450451
cx.draw_inset_box_shadow(scene);
451-
cx.stroke_border(scene);
452452
cx.stroke_devtools(scene);
453453

454454
// Now that background has been drawn, offset pos and cx in order to draw our contents scrolled

0 commit comments

Comments
 (0)