mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-17 02:17:51 +01:00
Fix t
This commit is contained in:
parent
4cd4638fd8
commit
2534c7abc2
1 changed files with 1 additions and 0 deletions
|
@ -949,6 +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);
|
||||
|
||||
t = (t == 0) ? 1 : t;
|
||||
float zoom_step = value / 100.0f * t;
|
||||
float old_zoom = zathura_document_get_scale(zathura->document);
|
||||
|
||||
|
|
Loading…
Reference in a new issue