Skip to content

Commit

Permalink
Update tools_screens.py
Browse files Browse the repository at this point in the history
Changing KEY_BACKSPACE size on ToolsDiceEntropy and ToolsCoinFlip screens
  • Loading branch information
fedebuyito authored Sep 6, 2024
1 parent 235f1d9 commit e8b0e35
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/seedsigner/gui/screens/tools_screens.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ class ToolsDiceEntropyEntryScreen(KeyboardScreen):
def __post_init__(self):
# Override values set by the parent class
self.title = f"Dice Roll 1/{self.return_after_n_chars}"
self.custom_additional_keys = [Keyboard.KEY_BACKSPACE]

# Specify the keys in the keyboard
self.rows = 3
Expand Down Expand Up @@ -187,6 +188,7 @@ class ToolsCoinFlipEntryScreen(KeyboardScreen):
def __post_init__(self):
# Override values set by the parent class
self.title = f"Coin Flip 1/{self.return_after_n_chars}"
self.custom_additional_keys = [Keyboard.KEY_BACKSPACE_2]

# Specify the keys in the keyboard
self.rows = 1
Expand Down

0 comments on commit e8b0e35

Please sign in to comment.