Allow to zoom in n times

This commit is contained in:
Moritz Lipp 2012-04-20 23:39:34 +02:00
parent 370deafb92
commit 4cd4638fd8

View File

@ -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 */