From c046461e745cbe7f1ad932d7a115908c5d36a5bb Mon Sep 17 00:00:00 2001 From: torger Date: Sun, 1 Dec 2013 16:01:52 +0100 Subject: [PATCH] Issue 795: before/after double-click zoom now properly synched --- rtgui/cropwindow.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rtgui/cropwindow.cc b/rtgui/cropwindow.cc index 5ffc9a79e..e4fe21db8 100755 --- a/rtgui/cropwindow.cc +++ b/rtgui/cropwindow.cc @@ -234,6 +234,8 @@ void CropWindow::buttonPress (int button, int type, int bstate, int x, int y) { if (button==1 && type==GDK_2BUTTON_PRESS && onArea (CropImage, x, y) && (state==SNormal || state==SCropImgMove)) { if (fitZoomEnabled) { if (fitZoom) { + state = SNormal; + zoomVersion = exposeVersion; translateCoord (x, y, action_x, action_y); changeZoom (ZOOM11INDEX, true, action_x, action_y); fitZoom = false;