Skip to content

Commit

Permalink
do not build double tap action selector for touchpad swipe actions an…
Browse files Browse the repository at this point in the history
…d change tap to swipe, also for multi-touch actions
  • Loading branch information
Nerwyn committed Aug 30, 2024
1 parent 88bd8e1 commit d333272
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/universal-remote-card.min.js

Large diffs are not rendered by default.

16 changes: 10 additions & 6 deletions src/universal-remote-card-editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1462,15 +1462,19 @@ export class UniversalRemoteCardEditor extends LitElement {
actionSelectors = html`
${actionsTabBar}
${this.buildActionOption(
'Multi-touch tap behavior (optional)',
`Multi-touch ${
this.touchpadTabIndex == 2 ? 'tap' : 'swipe'
} behavior (optional)`,
'multi_tap_action',
defaultUiActions,
)}
${this.buildActionOption(
'Multi-touch double tap behavior (optional)',
'multi_double_tap_action',
defaultUiActions,
)}
${this.touchpadTabIndex == 2
? this.buildActionOption(
'Multi-touch double tap behavior (optional)',
'multi_double_tap_action',
defaultUiActions,
)
: ''}
${this.buildActionOption(
'Multi-touch hold behavior (optional)',
'multi_hold_action',
Expand Down

0 comments on commit d333272

Please sign in to comment.