after a set_scale we need a render_all

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
Abdo Roig-Maranges 2013-10-26 19:36:42 +02:00 committed by Sebastian Ramacher
parent 0c0c3b8903
commit 459b8ba3fc

View file

@ -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 */