mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-04 01:55:59 +01:00
CS
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
32607326a9
commit
10641d688d
1 changed files with 1 additions and 2 deletions
|
@ -1482,9 +1482,8 @@ adjust_view(zathura_t* zathura)
|
||||||
abs((int)new_cell_height - (int)cell_height) > 1) {
|
abs((int)new_cell_height - (int)cell_height) > 1) {
|
||||||
render_all(zathura);
|
render_all(zathura);
|
||||||
refresh_view(zathura);
|
refresh_view(zathura);
|
||||||
|
|
||||||
/* otherwise set the old scale and leave */
|
|
||||||
} else {
|
} else {
|
||||||
|
/* otherwise set the old scale and leave */
|
||||||
zathura_document_set_scale(zathura->document, scale);
|
zathura_document_set_scale(zathura->document, scale);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue