[qet] [4723] Minor

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 4723
Author:   blacksun
Date:     2016-09-25 12:44:38 +0200 (Sun, 25 Sep 2016)
Log Message:
-----------
Minor

Modified Paths:
--------------
    trunk/sources/editor/graphicspart/partarc.cpp

Modified: trunk/sources/editor/graphicspart/partarc.cpp
===================================================================
--- trunk/sources/editor/graphicspart/partarc.cpp	2016-09-25 08:14:29 UTC (rev 4722)
+++ trunk/sources/editor/graphicspart/partarc.cpp	2016-09-25 10:44:38 UTC (rev 4723)
@@ -196,9 +196,10 @@
 		}
 	}
 	else if (m_resize_mode == 3) {
-		if (m_handler.pointIsHoverHandler(event->pos(), m_handler.pointsForArc(m_rect, m_start_angle, m_span_angle)) >= 0)
+		if (m_handler.pointIsHoverHandler(event->pos(), m_handler.pointsForArc(m_rect, m_start_angle/16, m_span_angle/16)) >= 0) {
 			setCursor(Qt::SizeAllCursor);
-		return;
+			return;
+		}
 	}
 
 	CustomElementGraphicPart::hoverMoveEvent(event);


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/