From ba07abe5c8d3f6fb175e13f5cd10f74ee8ab460c Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sat, 8 Apr 2023 07:08:03 +0200 Subject: Expand bounds of `Text` primitives a bit further --- graphics/src/primitive.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics') diff --git a/graphics/src/primitive.rs b/graphics/src/primitive.rs index 01546dcb..7f2c8ae2 100644 --- a/graphics/src/primitive.rs +++ b/graphics/src/primitive.rs @@ -174,7 +174,7 @@ impl Primitive { alignment::Vertical::Bottom => bounds.y - bounds.height, }; - bounds.expand(1.0) + bounds.expand(1.5) } Self::Quad { bounds, .. } | Self::Image { bounds, .. } -- cgit