From f230577c8391d77ac1a602166dd2113419f65c66 Mon Sep 17 00:00:00 2001 From: Jamie Charry Date: Fri, 6 Apr 2018 14:15:01 -0400 Subject: [PATCH] change addon panel keyboard shortcut to shift-meta-z instead of shift-meta-c --- lib/ui/src/libs/key_events.js | 2 +- lib/ui/src/modules/ui/components/shortcuts_help.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ui/src/libs/key_events.js b/lib/ui/src/libs/key_events.js index 5b23426450a..cf2c34e2f1e 100755 --- a/lib/ui/src/libs/key_events.js +++ b/lib/ui/src/libs/key_events.js @@ -41,7 +41,7 @@ export default function handle(e) { case keycode('F'): e.preventDefault(); return features.FULLSCREEN; - case keycode('C'): + case keycode('Z'): // backward-compatibility case keycode('D'): e.preventDefault(); diff --git a/lib/ui/src/modules/ui/components/shortcuts_help.js b/lib/ui/src/modules/ui/components/shortcuts_help.js index 87cf72eb517..adc9154427a 100755 --- a/lib/ui/src/modules/ui/components/shortcuts_help.js +++ b/lib/ui/src/modules/ui/components/shortcuts_help.js @@ -43,7 +43,7 @@ export function getShortcuts(platform) { { name: 'Toggle Addon panel position', keys: ['⌘ ⇧ G', '⌃ ⇧ G'] }, { name: 'Toggle Fullscreen Mode', keys: ['⌘ ⇧ F', '⌃ ⇧ F'] }, { name: 'Toggle Stories Panel', keys: ['⌘ ⇧ X', '⌃ ⇧ X'] }, - { name: 'Toggle Addon panel', keys: ['⌘ ⇧ C', '⌃ ⇧ C'] }, + { name: 'Toggle Addon panel', keys: ['⌘ ⇧ Z', '⌃ ⇧ Z'] }, { name: 'Next Story', keys: ['⌘ ⇧ →', '⌃ ⇧ →'] }, { name: 'Previous Story', keys: ['⌘ ⇧ ←', '⌃ ⇧ ←'] }, ]; @@ -54,7 +54,7 @@ export function getShortcuts(platform) { { name: 'Toggle Addon panel position', keys: ['Ctrl + Shift + G'] }, { name: 'Toggle Fullscreen Mode', keys: ['Ctrl + Shift + F'] }, { name: 'Toggle Stories Panel', keys: ['Ctrl + Shift + X'] }, - { name: 'Toggle Addon panel', keys: ['Ctrl + Shift + C'] }, + { name: 'Toggle Addon panel', keys: ['Ctrl + Shift + Z'] }, { name: 'Next Story', keys: ['Ctrl + Shift + →'] }, { name: 'Previous Story', keys: ['Ctrl + Shift + ←'] }, ];