mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 13:35:59 +01:00
after a set_scale we need a render_all
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
0c0c3b8903
commit
459b8ba3fc
1 changed files with 1 additions and 0 deletions
1
links.c
1
links.c
|
@ -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 */
|
||||||
|
|
Loading…
Reference in a new issue