fix(ags player): fix track title not updating
This commit is contained in:
parent
b220ff889c
commit
7184e752c2
1 changed files with 2 additions and 4 deletions
|
@ -62,7 +62,7 @@ export const TitleLabel = (player, params) => Label({
|
|||
truncate: 'end',
|
||||
justification: 'left',
|
||||
className: 'title',
|
||||
binds: [['label', player, 'trackTitle']],
|
||||
binds: [['label', player, 'track-title']],
|
||||
});
|
||||
|
||||
export const ArtistLabel = (player, params) => Label({
|
||||
|
@ -72,9 +72,7 @@ export const ArtistLabel = (player, params) => Label({
|
|||
truncate: 'end',
|
||||
justification: 'left',
|
||||
className: 'artist',
|
||||
connections: [[player, label => {
|
||||
label.label = player.trackArtists.join(', ') || '';
|
||||
}]],
|
||||
binds: [['label', player, 'track-artists', a => a.join(', ') || '']],
|
||||
});
|
||||
|
||||
export const PlayerIcon = (player, { symbolic = true, ...params } = {}) => {
|
||||
|
|
Loading…
Reference in a new issue