From 0efce7c862f8785e4d216df6ae1cd38160d11564 Mon Sep 17 00:00:00 2001
From: Awiteb
Date: Tue, 6 Aug 2024 18:29:13 +0000
Subject: [PATCH] fix: Remove duplicate rectangle
Fixes: https://github.com/erwanvivien/fast_qr/issues/61
Signed-off-by: Awiteb
---
src/convert/svg.rs | 8 --------
1 file changed, 8 deletions(-)
diff --git a/src/convert/svg.rs b/src/convert/svg.rs
index cd3cbb4..e244578 100644
--- a/src/convert/svg.rs
+++ b/src/convert/svg.rs
@@ -214,14 +214,6 @@ impl SvgBuilder {
placed_coord = (x - border_size / 2f64, y - border_size / 2f64);
}
- out.push_str(&format!(
- r#""#,
- placed_coord.0,
- placed_coord.1,
- border_size,
- self.background_color.to_str()
- ));
-
let format = match self.image_background_shape {
ImageBackgroundShape::Square => {
r#""#