summaryrefslogtreecommitdiff
path: root/wasp
diff options
context:
space:
mode:
authorMiguel Rochefort <miguelrochefort@gmail.com>2021-01-05 03:00:47 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2021-01-10 18:13:31 (GMT)
commit8a07edb4d8509e5c6962d9437cc86b5df01c02d1 (patch)
treec700b24ac0856a27d513255b2ce49ed208da8188 /wasp
parentbc9000c1a50ee6c9b72e7dbf2eeacb7eba67cc32 (diff)
widgets: ConfirmationView: Restore default font
The title will render with the last font used, and this isn't always right for the ConfirmationView. Setting the font explicitly solves that issue. Signed-off-by: Miguel Rochefort <miguelrochefort@gmail.com>
Diffstat (limited to 'wasp')
-rw-r--r--wasp/widgets.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/wasp/widgets.py b/wasp/widgets.py
index e3019bb..21bffe3 100644
--- a/wasp/widgets.py
+++ b/wasp/widgets.py
@@ -439,6 +439,7 @@ class ConfirmationView:
mute(True)
draw.set_color(wasp.system.theme('bright'))
+ draw.set_font(fonts.sans24)
draw.fill()
draw.string(message, 0, 60)
self._yes.draw()