Skip to content

Commit

Permalink
Revert "feat: add instruction to disable "Virtual Scrolling" setting …
Browse files Browse the repository at this point in the history
…in shortcut help"

This reverts commit aa171a8.
  • Loading branch information
shuuji3 committed May 31, 2024
1 parent 2d53047 commit 0b9b880
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
8 changes: 1 addition & 7 deletions components/magickeys/MagickeysKeyboardShortcuts.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ interface ShortcutDef {
interface ShortcutItem {
description: string
shortcut: ShortcutDef
info?: string
}
interface ShortcutItemGroup {
Expand All @@ -36,12 +35,10 @@ const shortcutItemGroups = computed<ShortcutItemGroup[]>(() => [
{
description: t('magic_keys.groups.navigation.next_status'),
shortcut: { keys: ['j'], isSequence: false },
info: t('magic_keys.info.disable_virtual_scrolling'),
},
{
description: t('magic_keys.groups.navigation.previous_status'),
shortcut: { keys: ['k'], isSequence: false },
info: t('magic_keys.info.disable_virtual_scrolling'),
},
{
description: t('magic_keys.groups.navigation.go_to_search'),
Expand Down Expand Up @@ -150,11 +147,8 @@ const shortcutItemGroups = computed<ShortcutItemGroup[]>(() => [
:key="item.description"
flex my-1 lg:my-2 justify-between place-items-center max-w-full text-base
>
<div mr-2 break-words overflow-hidden leading-4 h-full inline-block align-middle flex flex-inline gap-1 items-center>
<div mr-2 break-words overflow-hidden leading-4 h-full inline-block align-middle>
{{ item.description }}
<CommonTooltip v-if="item.info" :content="item.info">
<div i-ri:information-line />
</CommonTooltip>
</div>
<div>
<template
Expand Down
3 changes: 0 additions & 3 deletions locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,6 @@
"title": "Navigation"
}
},
"info": {
"disable_virtual_scrolling": "Disable the experimental \"Virtual Scrolling\" setting to use this shortcut."
},
"sequence_then": "then"
},
"menu": {
Expand Down

0 comments on commit 0b9b880

Please sign in to comment.