mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 08:10:52 +01:00
Fix bug when resize the angle of a part arc with the handles.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5435 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -365,7 +365,7 @@ void PartArc::handlerMouseMoveEvent(QetGraphicsHandlerItem *qghi, QGraphicsScene
|
||||
setRect(QetGraphicsHandlerUtility::mirrorRectForPosAtIndex(m_rect, new_pos, m_vector_index));
|
||||
else
|
||||
{
|
||||
QLineF line(m_rect.center(), mapFromItem(qghi, event->pos()));
|
||||
QLineF line(m_rect.center(), mapFromScene(event->scenePos()));
|
||||
prepareGeometryChange();
|
||||
|
||||
if (m_vector_index == 0) {
|
||||
|
||||
Reference in New Issue
Block a user