Skip to content

Commit

Permalink
Fixed broken shortcuts
Browse files Browse the repository at this point in the history
  • Loading branch information
kalkih committed Jan 31, 2019
1 parent 5d5cdcf commit dff95a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ class MiniMediaPlayer extends LitElement {
}

_handleQuickSelect(e, entity, i) {
const { type, id } = this.config.shortcuts[entity].items[i];
const { type, id } = this.config.shortcuts[entity][i];
if (type === 'source') return this._handleSource(e, id);
const options = {
media_content_type: type,
Expand Down
3 changes: 3 additions & 0 deletions style.js
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,9 @@ export default function style() {
padding: .2em 1em;
width: calc(50% - 4px);
}
.media-buttons > paper-button > span {
line-height: 24px;
}
.media-buttons > paper-button > *:nth-child(2),
.media-dropdown paper-item > *:nth-child(2) {
margin-left: 4px;
Expand Down

0 comments on commit dff95a8

Please sign in to comment.