fix(ags media-player): wrap in Box to have correct margin

This commit is contained in:
matt1432 2023-09-26 10:47:36 -04:00
parent 28881bd2dd
commit 812c1b7a52

View file

@ -83,8 +83,9 @@ const PlayerBox = player => mpris.CoverArt(player, {
], ],
}); });
export default () => PlayerGesture({ export default () => Box({
className: 'media', className: 'media',
child: PlayerGesture({
properties: [ properties: [
['players', new Map()], ['players', new Map()],
['setup', false], ['setup', false],
@ -134,4 +135,5 @@ export default () => PlayerGesture({
overlay.reorder_overlay(overlay._selected, -1); overlay.reorder_overlay(overlay._selected, -1);
}, 'player-closed'], }, 'player-closed'],
], ],
}) }),
});