diff options
Diffstat (limited to 'init.go')
| -rw-r--r-- | init.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -247,9 +247,13 @@ func refreshGocui() { continue } if time.Since(lastRefresh) > 1000*time.Millisecond { + // artificially pause clock while dragging. + // this is a reminder to make this refresh code smarter + // after the switch to protocol buffers if me.mouse.mouseUp { // log.Info("refresh now on mouseUp") // todo: add logic here to see if the application has changed anything + // me.baseGui.UpdateAsync(testRefresh) // probably don't need this me.baseGui.Update(testRefresh) if me.clock.tk != nil && !me.showHelp { // also double check the gocui view exists |
