From 8a07edb4d8509e5c6962d9437cc86b5df01c02d1 Mon Sep 17 00:00:00 2001 From: Miguel Rochefort Date: Mon, 4 Jan 2021 22:00:47 -0500 Subject: [PATCH] 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 --- wasp/widgets.py | 1 + 1 file changed, 1 insertion(+) 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()