Mercurial > geeqie.yaz
changeset 869:371a1c3d4504
layout_image_drag_cb(): optimize when connected scrolling is unset.
author | zas_ |
---|---|
date | Sat, 28 Jun 2008 08:01:36 +0000 |
parents | db6977f8b0f1 |
children | 3dd2cb78d0f9 |
files | src/layout_image.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/layout_image.c Sat Jun 28 07:43:37 2008 +0000 +++ b/src/layout_image.c Sat Jun 28 08:01:36 2008 +0000 @@ -1667,9 +1667,11 @@ gint i; LayoutWindow *lw = data; + if (!lw->connect_scroll) return; + for (i = 0; i < MAX_SPLIT_IMAGES; i++) { - if (lw->split_images[i] && lw->split_images[i] != imd && lw->connect_scroll) + if (lw->split_images[i] && lw->split_images[i] != imd) { gdouble sx, sy;