Commit 459b8ba3 authored by Abdo Roig-Maranges's avatar Abdo Roig-Maranges Committed by Sebastian Ramacher
Browse files

after a set_scale we need a render_all


Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
parent 0c0c3b89
...@@ -130,6 +130,7 @@ zathura_link_evaluate(zathura_t* zathura, zathura_link_t* link) ...@@ -130,6 +130,7 @@ zathura_link_evaluate(zathura_t* zathura, zathura_link_t* link)
if (link->target.destination_type != ZATHURA_LINK_DESTINATION_UNKNOWN) { if (link->target.destination_type != ZATHURA_LINK_DESTINATION_UNKNOWN) {
if (link->target.scale != 0 && link_zoom) { if (link->target.scale != 0 && link_zoom) {
zathura_document_set_scale(zathura->document, link->target.scale); zathura_document_set_scale(zathura->document, link->target.scale);
render_all(zathura);
} }
/* get page */ /* get page */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment