Skip to content

Commit

Permalink
rearrange toucharea attributes, why is this not working anymore?
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerwyn committed Oct 10, 2023
1 parent 342b966 commit 77f3d3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions dist/android-tv-card.js

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

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

0 comments on commit 77f3d3a

Please sign in to comment.