diff --git a/cmd/passgo-gui/main.go b/cmd/passgo-gui/main.go index 346d5fd..e89b739 100644 --- a/cmd/passgo-gui/main.go +++ b/cmd/passgo-gui/main.go @@ -296,11 +296,11 @@ func eventLoop() { overlay.Background = darkgray w.Invalidate() go func() { - time.Sleep(time.Second * time.Duration(fade1a)) + time.Sleep(time.Millisecond * time.Duration(fade1a*1000)) animOn() }() go func() { - time.Sleep(time.Second * time.Duration(Config.ClearDelay)) + time.Sleep(time.Millisecond * time.Duration(Config.ClearDelay*1000)) log(Info, "clearing clipboard") passgo.Clip("") }()