mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
When saving PDF read position always set it to the current page
This commit is contained in:
parent
c2092e0e5d
commit
973c1dec1e
2 changed files with 2 additions and 0 deletions
|
|
@ -413,6 +413,7 @@ export default function PdfArticleContainer(
|
|||
}
|
||||
await articleReadingProgressMutation({
|
||||
id: props.article.id,
|
||||
force: true,
|
||||
readingProgressPercent: percent,
|
||||
readingProgressAnchorIndex: pageIndex,
|
||||
})
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ import { gqlFetcher } from '../networkHelpers'
|
|||
|
||||
export type ArticleReadingProgressMutationInput = {
|
||||
id: string
|
||||
force?: boolean
|
||||
readingProgressPercent?: number
|
||||
readingProgressTopPercent?: number
|
||||
readingProgressAnchorIndex?: number
|
||||
|
|
|
|||
Loading…
Reference in a new issue