mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-13 07:43:46 +01:00
parent
2ec99e9f9e
commit
edea6a5403
@ -200,6 +200,7 @@ zathura_update_view_ppi(zathura_t* zathura)
|
|||||||
if (fabs(ppi - current_ppi) > DBL_EPSILON) {
|
if (fabs(ppi - current_ppi) > DBL_EPSILON) {
|
||||||
girara_debug("monitor width: %d mm, pixels: %d, ppi: %0.2f", width_mm, monitor_geom.width, ppi);
|
girara_debug("monitor width: %d mm, pixels: %d, ppi: %0.2f", width_mm, monitor_geom.width, ppi);
|
||||||
zathura_document_set_viewport_ppi(zathura->document, ppi);
|
zathura_document_set_viewport_ppi(zathura->document, ppi);
|
||||||
|
adjust_view(zathura);
|
||||||
render_all(zathura);
|
render_all(zathura);
|
||||||
refresh_view(zathura);
|
refresh_view(zathura);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user