mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 08:25:59 +01:00
Fix dual page render breakge of adjust_window
When the page is set to adjust width to the window, toggling dual page mode would break rendering because sc_toggle_page_mode() did not update dimensions.
This commit is contained in:
parent
12a9bf93ae
commit
c17c54c4a0
1 changed files with 1 additions and 0 deletions
|
@ -1240,6 +1240,7 @@ sc_toggle_page_mode(girara_session_t* session, girara_argument_t*
|
|||
}
|
||||
|
||||
girara_setting_set(zathura->ui.session, "pages-per-row", &value);
|
||||
adjust_view(zathura);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue