[qet] qet/qet: [5077] Improve the previous comit |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 5077
Author: blacksun
Date: 2017-10-11 20:44:45 +0200 (Wed, 11 Oct 2017)
Log Message:
-----------
Improve the previous comit
Modified Paths:
--------------
trunk/sources/QetGraphicsItemModeler/qetgraphicshandleritem.cpp
Modified: trunk/sources/QetGraphicsItemModeler/qetgraphicshandleritem.cpp
===================================================================
--- trunk/sources/QetGraphicsItemModeler/qetgraphicshandleritem.cpp 2017-10-11 18:24:39 UTC (rev 5076)
+++ trunk/sources/QetGraphicsItemModeler/qetgraphicshandleritem.cpp 2017-10-11 18:44:45 UTC (rev 5077)
@@ -35,7 +35,7 @@
{
qreal rect_size = m_size * m_previous_zoom_factor;
QRectF rect(0-rect_size/2, 0-rect_size/2, rect_size, rect_size);
- rect.adjust(-2, -2, 2, 2);
+ rect.adjust(-0.1, -0.1, 0.1, 0.1);
return rect;
}