gui: fix go-1.10 compatibility

This commit is contained in:
Dawid Dziurla 2020-10-14 12:40:52 +02:00
parent d2ea5dd8b7
commit 5669cc0002
No known key found for this signature in database
GPG key ID: 7B6D8368172E9B0B

View file

@ -21,7 +21,7 @@ func recordEventsTo() string {
}
func (gui *Gui) timeSinceStart() int64 {
return time.Since(gui.StartTime).Milliseconds()
return time.Since(gui.StartTime).Nanoseconds() / 1e6
}
func (gui *Gui) replayRecordedEvents() {