We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df65c97 commit 4eebb62Copy full SHA for 4eebb62
src/convert/svg.rs
@@ -207,7 +207,7 @@ impl SvgBuilder {
207
}
208
209
let mut placed_coord_x = (self.margin * 2 + n) as f64 - border_size;
210
- placed_coord_x /= 2f64;
+ placed_coord_x = (placed_coord_x / 2f64).ceil();
211
let mut placed_coord = (placed_coord_x, placed_coord_x);
212
213
if let Some((x, y)) = self.image_position {
0 commit comments