aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/workspaces
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-08-10 07:52:45 +0530
committerLibravatar Vijay A <avijayr@protonmail.com>2021-08-10 07:52:45 +0530
commitcfaa5ee25c094a96e106ce0bf657f8cd6a59b867 (patch)
treef3bc6623e181d849440339ad84b01a285a8b4c5a /src/features/workspaces
parent5.6.1-nightly.20 [skip ci] (diff)
downloadferdium-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')
-rw-r--r--src/features/workspaces/components/WorkspaceDrawerItem.js4
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';
5import injectSheet from 'react-jss'; 5import injectSheet from 'react-jss';
6import classnames from 'classnames'; 6import classnames from 'classnames';
7import { defineMessages, intlShape } from 'react-intl'; 7import { defineMessages, intlShape } from 'react-intl';
8import { ctrlKey } from '../../../environment'; 8import { altKey, ctrlKey } from '../../../environment';
9 9
10const messages = defineMessages({ 10const 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([