r24593 by jghali - #16491: Unable to select lines at low zoom level

scribus-commit scribus-commit at lists.scribus.net
Fri Mar 26 22:17:17 UTC 2021


Author: jghali
Date: Fri Mar 26 22:17:17 2021
New Revision: 24593

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24593
Log:
#16491: Unable to select lines at low zoom level

Modified:
    trunk/Scribus/scribus/canvasmode_normal.cpp

Modified: trunk/Scribus/scribus/canvasmode_normal.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24593&path=/trunk/Scribus/scribus/canvasmode_normal.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode_normal.cpp	(original)
+++ trunk/Scribus/scribus/canvasmode_normal.cpp	Fri Mar 26 22:17:17 2021
@@ -1121,7 +1121,7 @@
 		double dx = m_mouseSavedPoint.x() - m_mousePressPoint.x();
 		double dy = m_mouseSavedPoint.y() - m_mousePressPoint.y();
 		QRectF canvasSele = QRectF(m_mousePressPoint.x(), m_mousePressPoint.y(), dx, dy).normalized();
-		QRectF localSele  = m_canvas->canvasToLocal(canvasSele).normalized();
+		QRectF localSele  = m_canvas->canvasToLocalF(canvasSele).normalized();
 		if (!m_doc->masterPageMode())
 		{
 			uint docPagesCount = m_doc->Pages->count();




More information about the scribus-commit mailing list