r21293 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Fri May 6 17:50:26 UTC 2016


Author: jghali
Date: Fri May  6 17:50:26 2016
New Revision: 21293

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21293
Log:
Fix HUDs for rotated objects

Modified:
    trunk/Scribus/scribus/selection.cpp

Modified: trunk/Scribus/scribus/selection.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21293&path=/trunk/Scribus/scribus/selection.cpp
==============================================================================
--- trunk/Scribus/scribus/selection.cpp	(original)
+++ trunk/Scribus/scribus/selection.cpp	Fri May  6 17:50:26 2016
@@ -398,10 +398,10 @@
 		if (currItem->rotation() != 0)
 		{
 			QRectF itRect(currItem->getBoundingRect());
-			vminx = qMin(vminx, itRect.x());
-			vminy = qMin(vminy, itRect.y());
-			vmaxx = qMax(vmaxx, itRect.right());
-			vmaxy = qMax(vmaxy, itRect.bottom());
+			minx = qMin(minx, itRect.x());
+			miny = qMin(miny, itRect.y());
+			maxx = qMax(maxx, itRect.right());
+			maxy = qMax(maxy, itRect.bottom());
 			
 			// Same for visual
 			QRectF itVisualRect(currItem->getVisualBoundingRect());




More information about the scribus-commit mailing list