Skip to content

Commit

Permalink
Orphaned getCommandByPattern method removed
Browse files Browse the repository at this point in the history
  • Loading branch information
philrenaud committed Apr 8, 2024
1 parent 76a7229 commit 19a1468
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ui/app/services/keyboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,12 +212,6 @@ export default class KeyboardService extends Service {
});
}

getCommandByPattern(pattern) {
return this.keyCommands.find(
(command) => command.pattern.join('+') === pattern.join('+')
);
}

addCommands(commands) {
schedule('afterRender', () => {
commands.forEach((command) => {
Expand Down

0 comments on commit 19a1468

Please sign in to comment.