Setting time of last redraw.

pull/396/head
Oliver 4 years ago
parent e8d1520774
commit 3a5c6317e4

@ -268,6 +268,7 @@ EventLoop:
continue
}
width, height = newWidth, newHeight
lastRedraw = time.Now()
screen.Clear()
a.draw()
}

Loading…
Cancel
Save