diff --git a/ui/app.go b/ui/app.go index fa5f43e..c73730f 100644 --- a/ui/app.go +++ b/ui/app.go @@ -254,8 +254,6 @@ func NewApplication() *Application { updateRoutine() rectWatcher := func() { - redrawInterval := 300 - // Wait Until the ImagePreviewer is drawn // Ensures that cover art is not drawn before the UI is rendered. // Ref Issue: #39 @@ -287,7 +285,7 @@ func NewApplication() *Application { ImgH = _ImgH coverArt.RefreshState() } - time.Sleep(time.Millisecond * time.Duration(redrawInterval)) + time.Sleep(time.Millisecond * time.Duration(config.Config.RedrawInterval)) } }() }