mirror of
https://github.com/zen-browser/components.git
synced 2025-07-08 14:49:57 +02:00
Refactor keyboard shortcuts to use "Cmd" instead of "Meta" for macOS
This commit is contained in:
parent
7147fd2dfc
commit
5df1298bfd
2 changed files with 12 additions and 12 deletions
|
@ -175,11 +175,11 @@ class KeyShortcutModifiers {
|
|||
str += 'Shift+';
|
||||
}
|
||||
if (this.#meta) {
|
||||
str += AppConstants.platform == 'macosx' ? 'Meta+' : 'Win+';
|
||||
str += AppConstants.platform == 'macosx' ? 'Cmd+' : 'Win+';
|
||||
}
|
||||
if (this.#accel) {
|
||||
if (AppConstants.platform == 'macosx') {
|
||||
str += 'Cmd+';
|
||||
str += 'Meta+';
|
||||
} else {
|
||||
str += 'Ctrl+';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue