lengthen Now Playing gradient animation + standardize anim durations

This commit is contained in:
Drew Weymouth
2025-04-17 08:49:10 -07:00
parent f3e1aa94f9
commit 8619857425
6 changed files with 17 additions and 12 deletions
+2 -1
View File
@@ -12,13 +12,14 @@ import (
"fyne.io/fyne/v2/layout"
"fyne.io/fyne/v2/theme"
"fyne.io/fyne/v2/widget"
myTheme "github.com/dweymouth/supersonic/ui/theme"
"github.com/dweymouth/supersonic/ui/util"
"github.com/dweymouth/supersonic/ui/widgets"
)
const (
toastAutoDismissalTime = 3 * time.Second
toastAnimationDuration = 100 * time.Millisecond
toastAnimationDuration = myTheme.AnimationDurationShort
)
type ToastOverlay struct {