Skip to content

Commit

Permalink
slightly lengthen animation
Browse files Browse the repository at this point in the history
  • Loading branch information
dweymouth committed May 29, 2024
1 parent 906c951 commit b66baf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/browsing/nowplayingpage.go
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ func (a *NowPlayingPage) onImageLoaded(img image.Image, err error) {

evenFrame := true
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
if evenFrame {
a.background.StartColor = c
Expand Down

0 comments on commit b66baf5

Please sign in to comment.