mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-29 18:44:55 +01:00
Remove unnecessary addition
This commit is contained in:
parent
64905f282b
commit
fd06599d57
1 changed files with 2 additions and 2 deletions
|
@ -69,8 +69,8 @@ cb_view_vadjustment_value_changed(GtkAdjustment* GIRARA_UNUSED(adjustment), gpoi
|
|||
girara_setting_get(zathura->ui.session, "page-padding", &page_padding);
|
||||
|
||||
GdkRectangle center;
|
||||
center.x = view_rect.x + (view_rect.width + 1) / 2;
|
||||
center.y = view_rect.y + (view_rect.height + 1) / 2;
|
||||
center.x = (view_rect.width + 1) / 2;
|
||||
center.y = (view_rect.height + 1) / 2;
|
||||
center.height = center.width = (2 * page_padding) + 1;
|
||||
|
||||
bool updated = false;
|
||||
|
|
Loading…
Reference in a new issue