Skip to content

Commit

Permalink
move style= out of conditional and back into default toucharea html
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerwyn committed Oct 10, 2023
1 parent f15fca3 commit 7fadc9d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/android-tv-card.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/android-tv-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -840,11 +840,11 @@ class AndroidTVCard extends LitElement {
case 'navigation_touchpad': {
let style = ``;
if (this._config['touchpad_height']) {
style = `style="height: ${this._config['touchpad_height']} !important"`;
style = `height: ${this._config['touchpad_height']}`;
}
const touchpad = html`
<toucharea
${style}
style="${style}"
@click="${this.onTouchClick}"
@touchstart="${this.onTouchStart}"
@touchmove="${this.onTouchMove}"
Expand Down

0 comments on commit 7fadc9d

Please sign in to comment.