Fine grained animation delays.
This commit is contained in:
parent
a6dc5cbe18
commit
dd18765a80
|
@ -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("")
|
||||
}()
|
||||
|
|
Loading…
Reference in New Issue
Block a user