diff options
Diffstat (limited to 'graphics/src')
-rw-r--r-- | graphics/src/renderer.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/src/renderer.rs b/graphics/src/renderer.rs index 771f436c..5ca6c057 100644 --- a/graphics/src/renderer.rs +++ b/graphics/src/renderer.rs @@ -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), }, |