r20398 by fschmid -

scribus-commit scribus-commit at lists.scribus.net
Sat Sep 19 09:58:50 UTC 2015


Author: fschmid
Date: Sat Sep 19 09:58:50 2015
New Revision: 20398

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20398
Log:
Fixed Bug #13332: Flipped items drag preview is not flipped

Modified:
    trunk/Scribus/scribus/canvasmode.cpp

Modified: trunk/Scribus/scribus/canvasmode.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20398&path=/trunk/Scribus/scribus/canvasmode.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode.cpp	(original)
+++ trunk/Scribus/scribus/canvasmode.cpp	Sat Sep 19 09:58:50 2015
@@ -576,6 +576,16 @@
 					uint itemCountG = gItem->groupItemList.count();
 					if (itemCountG < m_canvas->moveWithFullOutlinesThreshold)
 					{
+						if (gItem->imageFlippedH())
+						{
+							p->translate(gItem->width(), 0);
+							p->scale(-1, 1);
+						}
+						if (gItem->imageFlippedV())
+						{
+							p->translate(0, gItem->height());
+							p->scale(1, -1);
+						}
 						p->scale(gItem->width() / gItem->groupWidth, gItem->height() / gItem->groupHeight);
 						for (uint cg = 0; cg < itemCountG; cg++)
 						{




More information about the scribus-commit mailing list