mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-12 12:13:08 +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)
|
.unwrap_or(false)
|
||||||
{
|
{
|
||||||
// We deserve to draw something!
|
// We deserve to draw something!
|
||||||
|
|
||||||
|
if boring {
|
||||||
|
// We're only here because of a timeout.
|
||||||
|
self.on_event(Event::Refresh);
|
||||||
|
}
|
||||||
|
|
||||||
self.refresh();
|
self.refresh();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user