diff options
author | 2021-08-10 07:52:45 +0530 | |
---|---|---|
committer | 2021-08-10 07:52:45 +0530 | |
commit | cfaa5ee25c094a96e106ce0bf657f8cd6a59b867 (patch) | |
tree | f3bc6623e181d849440339ad84b01a285a8b4c5a /src/features/workspaces/components | |
parent | 5.6.1-nightly.20 [skip ci] (diff) | |
download | ferdium-app-cfaa5ee25c094a96e106ce0bf657f8cd6a59b867.tar.gz ferdium-app-cfaa5ee25c094a96e106ce0bf657f8cd6a59b867.tar.zst ferdium-app-cfaa5ee25c094a96e106ce0bf657f8cd6a59b867.zip |
refactor: Use symbols for key shortcuts
Diffstat (limited to 'src/features/workspaces/components')
-rw-r--r-- | src/features/workspaces/components/WorkspaceDrawerItem.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/features/workspaces/components/WorkspaceDrawerItem.js b/src/features/workspaces/components/WorkspaceDrawerItem.js index a3fdf4f47..0294f69fc 100644 --- a/src/features/workspaces/components/WorkspaceDrawerItem.js +++ b/src/features/workspaces/components/WorkspaceDrawerItem.js | |||
@@ -5,7 +5,7 @@ import { observer } from 'mobx-react'; | |||
5 | import injectSheet from 'react-jss'; | 5 | import injectSheet from 'react-jss'; |
6 | import classnames from 'classnames'; | 6 | import classnames from 'classnames'; |
7 | import { defineMessages, intlShape } from 'react-intl'; | 7 | import { defineMessages, intlShape } from 'react-intl'; |
8 | import { ctrlKey } from '../../../environment'; | 8 | import { altKey, ctrlKey } from '../../../environment'; |
9 | 9 | ||
10 | const messages = defineMessages({ | 10 | const messages = defineMessages({ |
11 | noServicesAddedYet: { | 11 | noServicesAddedYet: { |
@@ -113,7 +113,7 @@ class WorkspaceDrawerItem extends Component { | |||
113 | onContextMenu={() => ( | 113 | onContextMenu={() => ( |
114 | onContextMenuEditClick && contextMenu.popup(getCurrentWindow()) | 114 | onContextMenuEditClick && contextMenu.popup(getCurrentWindow()) |
115 | )} | 115 | )} |
116 | data-tip={`${shortcutIndex <= 9 ? `(${ctrlKey}+Alt+${shortcutIndex})` : ''}`} | 116 | data-tip={`${shortcutIndex <= 9 ? `(${ctrlKey}+${altKey}+${shortcutIndex})` : ''}`} |
117 | > | 117 | > |
118 | <span | 118 | <span |
119 | className={classnames([ | 119 | className={classnames([ |