Skip to content

Commit

Permalink
Do not uppercase single letter key legends
Browse files Browse the repository at this point in the history
  • Loading branch information
precondition committed Oct 4, 2022
1 parent 192aac5 commit dd07a74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/BaseKey.vue
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ export default {
);
},
formatName(name) {
return name.length === 1 ? name.toUpperCase() : name;
return name;
},
remove() {
this.setSelected(this.id);
Expand Down
2 changes: 1 addition & 1 deletion src/components/Keycode.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default {
return classes.join(' ');
},
displayName() {
return this.name.length === 1 ? this.name.toUpperCase() : this.name;
return this.name;
},
displayTitle() {
return this.title ? `${this.code}\n${this.title}` : this.code;
Expand Down

0 comments on commit dd07a74

Please sign in to comment.