mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Update shortcut params
This commit is contained in:
parent
cb6ef5f81c
commit
4ba3bc03de
2 changed files with 7 additions and 5 deletions
|
|
@ -42,13 +42,13 @@ const libraryItemCommands = () => {
|
|||
},
|
||||
{
|
||||
actionDescription: 'Mark item as read',
|
||||
shortcutKeys: ['m', 'r'],
|
||||
shortcutKeys: ['-'],
|
||||
shortcutKeyDescription: 'm then r',
|
||||
callback: () => {},
|
||||
},
|
||||
{
|
||||
actionDescription: 'Mark item as unread',
|
||||
shortcutKeys: ['m', 'u'],
|
||||
shortcutKeys: ['_'],
|
||||
shortcutKeyDescription: 'm then u',
|
||||
callback: () => {},
|
||||
},
|
||||
|
|
@ -90,7 +90,7 @@ const readerCommands = () => {
|
|||
},
|
||||
{
|
||||
actionDescription: 'Mark current item as read',
|
||||
shortcutKeys: ['m', 'r'],
|
||||
shortcutKeys: ['-'],
|
||||
shortcutKeyDescription: 'm then r',
|
||||
callback: () => {},
|
||||
},
|
||||
|
|
|
|||
|
|
@ -345,7 +345,7 @@ export default function Home(): JSX.Element {
|
|||
id: 'mark_read',
|
||||
section: 'Article',
|
||||
name: 'Mark current item as read',
|
||||
shortcut: ['m', 'r'],
|
||||
shortcut: ['-'],
|
||||
perform: () => {
|
||||
document.dispatchEvent(new Event('mark-read'))
|
||||
},
|
||||
|
|
@ -566,7 +566,9 @@ export default function Home(): JSX.Element {
|
|||
highlightOnRelease={
|
||||
readerSettings.highlightOnRelease ?? undefined
|
||||
}
|
||||
textDirection={readerSettings.textDirection}
|
||||
textDirection={
|
||||
article.directionality ?? readerSettings.textDirection
|
||||
}
|
||||
articleMutations={{
|
||||
createHighlightMutation,
|
||||
deleteHighlightMutation,
|
||||
|
|
|
|||
Loading…
Reference in a new issue