Update space panel expand mechanism (#7230)
This commit is contained in:
committed by
GitHub
parent
e2ed00db85
commit
275e9c1d02
@@ -253,6 +253,12 @@ const shortcuts: Record<Categories, IShortcut[]> = {
|
||||
key: Key.SPACE,
|
||||
}],
|
||||
description: _td("Activate selected button"),
|
||||
}, {
|
||||
keybinds: [{
|
||||
modifiers: [CMD_OR_CTRL, Modifiers.SHIFT],
|
||||
key: Key.D,
|
||||
}],
|
||||
description: _td("Toggle space panel"),
|
||||
}, {
|
||||
keybinds: [{
|
||||
modifiers: [CMD_OR_CTRL],
|
||||
@@ -348,7 +354,7 @@ const Shortcut: React.FC<{
|
||||
}
|
||||
|
||||
return <div key={s.key}>
|
||||
{ s.modifiers && s.modifiers.map(m => {
|
||||
{ s.modifiers?.map(m => {
|
||||
return <React.Fragment key={m}>
|
||||
<kbd>{ modifierIcon[m] || _t(m) }</kbd>+
|
||||
</React.Fragment>;
|
||||
|
||||
Reference in New Issue
Block a user