Skip to content

Commit

Permalink
cleanup, temp bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
kdmukai committed Nov 18, 2024
1 parent 72f945d commit e34ef66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/seedsigner/gui/components.py
Original file line number Diff line number Diff line change
Expand Up @@ -1412,8 +1412,6 @@ def __post_init__(self):
else:
self.text_y = self.height - int((self.height - self.text_height)/2)

print(f"Button: {self.text_y_offset=}, {self.text_height=}, {self.height=}, {self.text_y=} | {self.text=}")

# Preload the icon and its "_selected" variant
icon_padding = GUIConstants.COMPONENT_PADDING
if self.icon_name:
Expand Down
3 changes: 2 additions & 1 deletion src/seedsigner/gui/screens/scan_screens.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,8 @@ def run(self):
)

# TRANSLATOR_NOTE: Inserts the percentage value of the animated QR scan progress
text = _("{}%").format(progress_percentage)
# text = _("{}%").format(progress_percentage)
text = f"{progress_percentage}%"
draw.text(
xy=(rectangle.width - GUIConstants.EDGE_PADDING, int(rectangle.height / 2)),
text=text,
Expand Down

0 comments on commit e34ef66

Please sign in to comment.