mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 09:16:38 +00:00
Disable prev/next MP card when off
This commit is contained in:
parent
8c3522bb40
commit
6a4514015d
@ -98,6 +98,10 @@
|
||||
color: var(--primary-text-color);
|
||||
}
|
||||
|
||||
paper-icon-button[disabled] {
|
||||
color: var(--paper-grey-400);
|
||||
}
|
||||
|
||||
paper-icon-button.primary {
|
||||
width: 56px !important;
|
||||
height: 56px !important;
|
||||
@ -139,6 +143,7 @@
|
||||
<paper-icon-button
|
||||
icon='mdi:skip-previous'
|
||||
invisible$='[[!playerObj.supportsPreviousTrack]]'
|
||||
disabled='[[playerObj.isOff]]'
|
||||
on-tap='handlePrevious'
|
||||
></paper-icon-button>
|
||||
<paper-icon-button
|
||||
@ -151,6 +156,7 @@
|
||||
<paper-icon-button
|
||||
icon='mdi:skip-next'
|
||||
invisible$='[[!playerObj.supportsNextTrack]]'
|
||||
disabled='[[playerObj.isOff]]'
|
||||
on-tap='handleNext'
|
||||
></paper-icon-button>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user