Skip to content

Commit

Permalink
gui: fix go-1.10 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
dawidd6 committed Oct 14, 2020
1 parent d2ea5dd commit 5669cc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/gui/recording.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 5669cc0

Please sign in to comment.