Skip to content

Commit

Permalink
Improve readability of stepping tooltip button labels (firefox-devtoo…
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjiO authored and darkwing committed May 20, 2019
1 parent bdc9744 commit 5da319d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SecondaryPanes/CommandBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function formatKey(action) {
const winKey =
getKeyForOS("WINNT", `${action}Display`) || getKeyForOS("WINNT", action);
// display both Windows type and Mac specific keys
return formatKeyShortcut([key, winKey].join(" "));
return formatKeyShortcut(`(${key} or ${winKey})`);
}
return formatKeyShortcut(key);
}
Expand Down

0 comments on commit 5da319d

Please sign in to comment.