Skip to content

Commit

Permalink
Fix formatting problem introduced back in bf9925b
Browse files Browse the repository at this point in the history
  • Loading branch information
ccrome authored and florianfesti committed Oct 1, 2023
1 parent 9ac184a commit 742a2e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions boxes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,10 +406,10 @@ def open(self):
self.move(self.reference, 10, "up", before=True)
self.ctx.rectangle(0, 0, self.reference, 10)
if self.reference < 80:
self.text(f"{self.reference:.f}mm, burn:{self.burn:.2f}mm", self.reference + 5, 5,
self.text(f"{self.reference:.2f}mm, burn:{self.burn:.2f}mm", self.reference + 5, 5,
fontsize=8, align="middle left", color=Color.ANNOTATIONS)
else:
self.text(f"{self.reference:.f}mm, burn:{self.burn:.2f}mm", self.reference / 2.0, 5,
self.text(f"{self.reference:.2f}mm, burn:{self.burn:.2f}mm", self.reference / 2.0, 5,
fontsize=8, align="middle center", color=Color.ANNOTATIONS)
self.move(self.reference, 10, "up")
if self.qr_code:
Expand Down

0 comments on commit 742a2e5

Please sign in to comment.