Avoid clipping antialiasing in Renderer::overlay
This commit is contained in:
parent
21b583c468
commit
33e6682882
@ -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…
Reference in New Issue
Block a user