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

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


Author: jghali
Date: Fri Mar 26 22:10:03 2021
New Revision: 24592

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24592
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=24592&path=/trunk/Scribus/scribus/canvasmode_normal.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode_normal.cpp	(original)
+++ trunk/Scribus/scribus/canvasmode_normal.cpp	Fri Mar 26 22:10:03 2021
@@ -1159,7 +1159,7 @@
 				if (m_doc->canSelectItemOnLayer(docItem->m_layerID))
 				{
 					// get current item rect/bounding box
-					QRect apr2 = m_canvas->canvasToLocal( docItem->getCurrentBoundingRect(docItem->lineWidth()) );
+					QRectF apr2 = m_canvas->canvasToLocalF( docItem->getCurrentBoundingRect(docItem->lineWidth()) );
 
 					bool is_selected = docItem->isSelected();
 




More information about the scribus-commit mailing list