mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-11 00:33:48 +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
@ -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 New Issue
Block a user