Browse Source

Fix shortcuts mapping in the shortcuts list

Shorcuts are case-sensitive therefore let's fix the keys in the shortcuts list.
Marc Hartmayer 5 năm trước cách đây
mục cha
commit
1c488cb8a7
1 tập tin đã thay đổi với 5 bổ sung5 xóa
  1. 5 5
      client/lib/keyboard.js

+ 5 - 5
client/lib/keyboard.js

@@ -97,19 +97,19 @@ Mousetrap.bind('c', evt => {
 Template.keyboardShortcuts.helpers({
 Template.keyboardShortcuts.helpers({
   mapping: [
   mapping: [
     {
     {
-      keys: ['W'],
+      keys: ['w'],
       action: 'shortcut-toggle-sidebar',
       action: 'shortcut-toggle-sidebar',
     },
     },
     {
     {
-      keys: ['Q'],
+      keys: ['q'],
       action: 'shortcut-filter-my-cards',
       action: 'shortcut-filter-my-cards',
     },
     },
     {
     {
-      keys: ['F'],
+      keys: ['f'],
       action: 'shortcut-toggle-filterbar',
       action: 'shortcut-toggle-filterbar',
     },
     },
     {
     {
-      keys: ['X'],
+      keys: ['x'],
       action: 'shortcut-clear-filters',
       action: 'shortcut-clear-filters',
     },
     },
     {
     {
@@ -129,7 +129,7 @@ Template.keyboardShortcuts.helpers({
       action: 'shortcut-assign-self',
       action: 'shortcut-assign-self',
     },
     },
     {
     {
-      keys: ['C'],
+      keys: ['c'],
       action: 'archive-card',
       action: 'archive-card',
     },
     },
   ],
   ],