Change playing icon color for current track
Make the Play icon easier to spot within the playing queue, by using the primary color for the current theme. Fixes #184
This commit is contained in:
committed by
Drew Weymouth
parent
3d0e527b06
commit
a8d1380b48
@@ -123,7 +123,11 @@ func NewTracklist(tracks []*mediaprovider.Track) *Tracklist {
|
||||
t.OnColumnVisibilityMenuShown(pop)
|
||||
}
|
||||
}
|
||||
playingIcon := container.NewCenter(container.NewHBox(util.NewHSpace(2), widget.NewIcon(theme.MediaPlayIcon())))
|
||||
|
||||
playIcon := theme.NewThemedResource(theme.MediaPlayIcon())
|
||||
playIcon.ColorName = theme.ColorNamePrimary
|
||||
playingIcon := container.NewCenter(container.NewHBox(util.NewHSpace(2), widget.NewIcon(playIcon)))
|
||||
|
||||
t.list = widget.NewList(
|
||||
t.lenTracks,
|
||||
func() fyne.CanvasObject {
|
||||
|
||||
Reference in New Issue
Block a user