mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-23 17:35:00 +00:00
Send Event::Refresh on fps timeout
This commit is contained in:
parent
8c074ef3d7
commit
859c12320f
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user