mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 18:03:47 +01:00
Allow to zoom in n times
This commit is contained in:
parent
370deafb92
commit
4cd4638fd8
@ -949,7 +949,7 @@ sc_zoom(girara_session_t* session, girara_argument_t* argument, girara_event_t*
|
||||
int value = 1;
|
||||
girara_setting_get(zathura->ui.session, "zoom-step", &value);
|
||||
|
||||
float zoom_step = value / 100.0f;
|
||||
float zoom_step = value / 100.0f * t;
|
||||
float old_zoom = zathura_document_get_scale(zathura->document);
|
||||
|
||||
/* specify new zoom value */
|
||||
|
Loading…
Reference in New Issue
Block a user