diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-09-20 13:03:47 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-09-20 14:07:51 +0200 |
commit | 4fc7d4abdada5efc25fe0976dfe6bc8324905140 (patch) | |
tree | 60203f163e488d36f5eb8672df8dc762281af24a /source/html/epub-doc.c | |
parent | bff6d163a94386eae21540183b130be6c04f08e9 (diff) | |
download | mupdf-4fc7d4abdada5efc25fe0976dfe6bc8324905140.tar.xz |
gl: Scroll to link coordinates when following links.
Also save link coordinates in outline nodes.
Diffstat (limited to 'source/html/epub-doc.c')
-rw-r--r-- | source/html/epub-doc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/html/epub-doc.c b/source/html/epub-doc.c index 53976f78..41b21361 100644 --- a/source/html/epub-doc.c +++ b/source/html/epub-doc.c @@ -75,7 +75,7 @@ epub_update_outline(fz_context *ctx, fz_document *doc, fz_outline *node) { while (node) { - node->page = epub_resolve_link(ctx, doc, node->uri, NULL, NULL); + node->page = epub_resolve_link(ctx, doc, node->uri, &node->x, &node->y); epub_update_outline(ctx, doc, node->down); node = node->next; } |