Commit 815c51d0 authored by Marwan Tanager's avatar Marwan Tanager Committed by Sebastian Ramacher
Browse files

Pass hadjustment to set_adjustment() instead of vadjustment.



Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
parent 3f20ede9
......@@ -372,7 +372,7 @@ readjust_view_after_zooming(zathura_t *zathura, float old_zoom, bool delay)
if (delay == true) {
position_set_delayed(zathura, valx, valy);
} else {
set_adjustment(vadjustment, valx);
set_adjustment(hadjustment, valx);
set_adjustment(vadjustment, valy);
}
}
......
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