shouldn't subtract rendering time from CallLater time

pull/284/head
Lex Neva 2018-08-26 00:10:11 -04:00
rodzic c44e008029
commit 0bc2992686
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -208,7 +208,7 @@ class DrawingPanel(wx.Panel):
self.Refresh()
wx.CallLater(int(1000 * max(0.001, frame_time - self.last_frame_duration)), self.animate)
wx.CallLater(int(1000 * frame_time), self.animate)
def OnPaint(self, e):
dc = wx.PaintDC(self)