Skip to content

Commit

Permalink
lookup key name in the latest keycodeLUT
Browse files Browse the repository at this point in the history
  • Loading branch information
precondition committed Aug 19, 2022
1 parent b84a675 commit 1bad93e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/TesterKey.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ export default {
return `key-${this.layer}-${this.id}`;
},
displayName() {
return this.formatName(this.breakLines(this.meta.name));
const { name } = this.lookupKeycode(this.meta.code);
return this.formatName(this.breakLines(name));
},
localClasses() {
const classes = [];
Expand Down

0 comments on commit 1bad93e

Please sign in to comment.