summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/winwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/winwidget.c b/src/winwidget.c
index 3641eb9..7b178b6 100644
--- a/src/winwidget.c
+++ b/src/winwidget.c
@@ -519,7 +519,7 @@ void winwidget_render_image(winwidget winwid, int resize, int force_alias)
}
}
else if (need_center && !winwid->full_screen
- && (winwid->type != WIN_TYPE_THUMBNAIL)) {
+ && (winwid->type != WIN_TYPE_THUMBNAIL) && !opt.keep_zoom_vp) {
winwid->im_x = (int) (winwid->w - (winwid->im_w * winwid->zoom)) >> 1;
winwid->im_y = (int) (winwid->h - (winwid->im_h * winwid->zoom)) >> 1;
}