1
0
Fork 0

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>
This commit is contained in:
Miguel Rochefort 2021-01-04 22:00:47 -05:00 committed by Daniel Thompson
parent bc9000c1a5
commit 8a07edb4d8

View file

@ -439,6 +439,7 @@ class ConfirmationView:
mute(True) mute(True)
draw.set_color(wasp.system.theme('bright')) draw.set_color(wasp.system.theme('bright'))
draw.set_font(fonts.sans24)
draw.fill() draw.fill()
draw.string(message, 0, 60) draw.string(message, 0, 60)
self._yes.draw() self._yes.draw()