Send Event::Refresh on fps timeout

This commit is contained in:
Alexandre Bury 2019-05-14 09:41:13 -07:00
parent 8c074ef3d7
commit 859c12320f

View File

@ -903,6 +903,12 @@ impl Cursive {
.unwrap_or(false)
{
// We deserve to draw something!
if boring {
// We're only here because of a timeout.
self.on_event(Event::Refresh);
}
self.refresh();
}