Expand bounds of Text primitives a bit further

This commit is contained in:
Héctor Ramón Jiménez 2023-04-08 07:08:03 +02:00
parent c2249d2506
commit ba07abe5c8
No known key found for this signature in database
GPG key ID: 140CC052C94F138E

View file

@ -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, .. }