Update shortcut params
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user