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:
parent
bc9000c1a5
commit
8a07edb4d8
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue