Issue 795: before/after double-click zoom now properly synched

This commit is contained in:
torger
2013-12-01 16:01:52 +01:00
parent 6915ebdd70
commit c046461e74

View File

@@ -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;