slightly lengthen animation
This commit is contained in:
@@ -281,7 +281,7 @@ func (a *NowPlayingPage) onImageLoaded(img image.Image, err error) {
|
|||||||
|
|
||||||
evenFrame := true
|
evenFrame := true
|
||||||
anim := canvas.NewColorRGBAAnimation(
|
anim := canvas.NewColorRGBAAnimation(
|
||||||
a.background.StartColor, c, 50*time.Millisecond, func(c color.Color) {
|
a.background.StartColor, c, 75*time.Millisecond, func(c color.Color) {
|
||||||
// reduce fps to reduce mem allocations
|
// reduce fps to reduce mem allocations
|
||||||
if evenFrame {
|
if evenFrame {
|
||||||
a.background.StartColor = c
|
a.background.StartColor = c
|
||||||
|
|||||||
Reference in New Issue
Block a user