mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-16 09:05:50 +01:00
Pass hadjustment to set_adjustment() instead of vadjustment.
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
3f20ede9ab
commit
815c51d066
1 changed files with 1 additions and 1 deletions
2
utils.c
2
utils.c
|
@ -372,7 +372,7 @@ readjust_view_after_zooming(zathura_t *zathura, float old_zoom, bool delay)
|
||||||
if (delay == true) {
|
if (delay == true) {
|
||||||
position_set_delayed(zathura, valx, valy);
|
position_set_delayed(zathura, valx, valy);
|
||||||
} else {
|
} else {
|
||||||
set_adjustment(vadjustment, valx);
|
set_adjustment(hadjustment, valx);
|
||||||
set_adjustment(vadjustment, valy);
|
set_adjustment(vadjustment, valy);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue