Skip to content

Commit

Permalink
Undo changes to KeyboardShortcutDialog
Browse files Browse the repository at this point in the history
  • Loading branch information
annehaley committed Mar 4, 2022
1 parent 2c4e044 commit 5df730a
Showing 1 changed file with 17 additions and 20 deletions.
37 changes: 17 additions & 20 deletions client/src/components/KeyboardShortcutDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,25 @@ export default defineComponent({
shortcuts: [
['Next frame', [['']]],
['Previous frame', [['']]],
['Next frame', [['']]],
['Previous frame', [['']]],
// [
// 'Change slices',
// [
// ['q', 'w'],
// ['a', 's'],
// ['z', 'x'],
// ],
// ],
[
'Change slices',
[
['q', 'w'],
['a', 's'],
['z', 'x'],
],
],
['Toggle fullscreen', [['e', 'd', 'c']]],
['Zooming', [['right button + dragging']]],
['Panning', [['shift + dragging']]],
// ['Increase/decrease window width', [['=', '-']]],
// ['Increase/decrease window level', [['[', ']']]],
// ['Focus to note', [['n']]],
// ['Show note history', [['h']]],
// ['Unfocus from note', [['esc']]],
// ['Mark as bad/good/usable extra', [['b', 'g', 'u']]],
// ['Save', [['alt + s']]],
['Cancel on confirm dialog', [['esc']]],
['Increase/decrease window', [['=', '-']]],
['Increase/decrease window level', [['[', ']']]],
['Focus to note', [['n']]],
['Show note history', [['h']]],
['Unfocus from note', [['esc']]],
['Mark as bad/good/usable extra', [['b', 'g', 'u']]],
['Save', [['alt + s']]],
['Save on confirm dialog', [['y']]],
["Don't save on confirm dialog", [['n']]],
['Cancel on confirm dialog', [['esc']]],
Expand All @@ -47,12 +46,10 @@ export default defineComponent({
},
});
</script>

<template>
<v-dialog
:value="value"
max-width="500"
height="500"
scrollable
@input="$emit('input', $event)"
>
Expand All @@ -64,7 +61,7 @@ export default defineComponent({
Keyboard shortcuts
</v-card-title>
<v-divider />
<v-card-text>
<v-card-text style="height: 500px;">
<v-data-table
:items="shortcuts"
hide-default-footer
Expand Down

0 comments on commit 5df730a

Please sign in to comment.