Commit 4cd4638f authored by Moritz Lipp's avatar Moritz Lipp
Browse files

Allow to zoom in n times

parent 370deafb
......@@ -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 */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment