r19892 by craig - #12459: Fix flipping horizontal/vertical not moving the items back if multiple are selected
scribus-commit
scribus-commit at lists.scribus.net
Mon Mar 2 18:52:05 UTC 2015
Author: craig
Date: Mon Mar 2 18:52:05 2015
New Revision: 19892
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19892
Log:
#12459: Fix flipping horizontal/vertical not moving the items back if multiple are selected
Modified:
trunk/Scribus/scribus/scribusdoc.cpp
Modified: trunk/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19892&path=/trunk/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.cpp (original)
+++ trunk/Scribus/scribus/scribusdoc.cpp Mon Mar 2 18:52:05 2015
@@ -11158,14 +11158,14 @@
currItem->rotateBy(currItem->rotation() * -2.0);
currItem->setRedrawBounding();
currItem->getBoundingRect(&ix2, &iy2, &iw2, &ih2);
- currItem->moveBy(ix-ix2, iy-iy2, true);
+ currItem->moveBy(ix-ix2, iy-iy2, false);
currItem->setRedrawBounding();
}
if (currItem->isImageFrame() || currItem->isTextFrame() || currItem->isLatexFrame() || currItem->isOSGFrame() || currItem->isSymbol() || currItem->isGroup() || currItem->isSpiral())
currItem->flipImageH();
if (currItem->itemType() != PageItem::Line)
MirrorPolyH(currItem);
- currItem->moveBy(dx, 0, true);
+ currItem->moveBy(dx, 0, false);
currItem->GrStartX = currItem->width() - currItem->GrStartX;
currItem->GrEndX = currItem->width() - currItem->GrEndX;
if (currItem->isArc())
@@ -11207,7 +11207,7 @@
currItem->rotateBy(currItem->rotation() * -2.0);
currItem->setRedrawBounding();
currItem->getBoundingRect(&ix2, &iy2, &iw2, &ih2);
- currItem->moveBy(ix-ix2, iy-iy2, true);
+ currItem->moveBy(ix-ix2, iy-iy2, false);
currItem->setRedrawBounding();
}
currItem->GrStartX = currItem->width() - currItem->GrStartX;
@@ -11266,14 +11266,14 @@
currItem->rotateBy(currItem->rotation() * -2.0);
currItem->setRedrawBounding();
currItem->getBoundingRect(&ix2, &iy2, &iw2, &ih2);
- currItem->moveBy(ix-ix2, iy-iy2, true);
+ currItem->moveBy(ix-ix2, iy-iy2, false);
currItem->setRedrawBounding();
}
if (currItem->isImageFrame() || currItem->isTextFrame() || currItem->isLatexFrame() || currItem->isOSGFrame() || currItem->isSymbol() || currItem->isGroup() || currItem->isSpiral())
currItem->flipImageV();
if (currItem->itemType() != PageItem::Line)
MirrorPolyV(currItem);
- currItem->moveBy(0, dx, true);
+ currItem->moveBy(0, dx, false);
currItem->GrStartY = currItem->height() - currItem->GrStartY;
currItem->GrEndY = currItem->height() - currItem->GrEndY;
if (currItem->isArc())
@@ -11318,7 +11318,7 @@
currItem->rotateBy(currItem->rotation() * -2.0);
currItem->setRedrawBounding();
currItem->getBoundingRect(&ix2, &iy2, &iw2, &ih2);
- currItem->moveBy(ix-ix2, iy-iy2, true);
+ currItem->moveBy(ix-ix2, iy-iy2, false);
currItem->setRedrawBounding();
}
currItem->GrStartY = currItem->height() - currItem->GrStartY;
More information about the scribus-commit
mailing list