Issue 795: before/after double-click zoom now properly synched
This commit is contained in:
@@ -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 (button==1 && type==GDK_2BUTTON_PRESS && onArea (CropImage, x, y) && (state==SNormal || state==SCropImgMove)) {
|
||||||
if (fitZoomEnabled) {
|
if (fitZoomEnabled) {
|
||||||
if (fitZoom) {
|
if (fitZoom) {
|
||||||
|
state = SNormal;
|
||||||
|
zoomVersion = exposeVersion;
|
||||||
translateCoord (x, y, action_x, action_y);
|
translateCoord (x, y, action_x, action_y);
|
||||||
changeZoom (ZOOM11INDEX, true, action_x, action_y);
|
changeZoom (ZOOM11INDEX, true, action_x, action_y);
|
||||||
fitZoom = false;
|
fitZoom = false;
|
||||||
|
Reference in New Issue
Block a user