r18701 by fschmid - Additional fix for Bug #10168

scribus-commit scribus-commit at lists.scribus.net
Thu Jan 9 12:30:22 UTC 2014


Author: fschmid
Date: Thu Jan  9 12:30:22 2014
New Revision: 18701

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18701
Log:
Additional fix for Bug #10168

Modified:
    trunk/Scribus/scribus/canvasgesture_resize.cpp

Modified: trunk/Scribus/scribus/canvasgesture_resize.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18701&path=/trunk/Scribus/scribus/canvasgesture_resize.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasgesture_resize.cpp (original)
+++ trunk/Scribus/scribus/canvasgesture_resize.cpp Thu Jan  9 12:30:22 2014
@@ -479,13 +479,13 @@
 	QPointF oldXY = m_bounds.topLeft();
 	// proportional resize
 	bool constrainRatio = ((m->modifiers() & Qt::ControlModifier) != Qt::NoModifier);
-	
+/*
 	if (m_mousePressPoint == m->globalPos())
 	{
 		m_bounds = m_mousePressBounds;
 		return;
 	}
-
+*/
 	// snap to grid	+ snap to guides
 	xSnap = 0;
 	ySnap = 0;
@@ -768,5 +768,6 @@
 		prepare(m_handle);
 		m->accept();
 		m_mousePressBounds = m_bounds;
-	}
-}
+		adjustBounds(m);
+	}
+}




More information about the scribus-commit mailing list