Avoid clipping antialiasing in Renderer::overlay
This commit is contained in:
parent
21b583c468
commit
33e6682882
1 changed files with 5 additions and 1 deletions
|
|
@ -67,7 +67,11 @@ where
|
|||
primitives: vec![
|
||||
base_primitive,
|
||||
Primitive::Clip {
|
||||
bounds: overlay_bounds,
|
||||
bounds: Rectangle {
|
||||
width: overlay_bounds.width + 0.5,
|
||||
height: overlay_bounds.height + 0.5,
|
||||
..overlay_bounds
|
||||
},
|
||||
offset: Vector::new(0, 0),
|
||||
content: Box::new(overlay_primitives),
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue