|
|
@ -563,8 +563,7 @@ void UBGraphicsDelegateFrame::mouseMoveEvent(QGraphicsSceneMouseEvent *event) |
|
|
|
mTranslateX += fixedPoint.x() - bottomRight.x(); |
|
|
|
mTranslateX += fixedPoint.x() - bottomRight.x(); |
|
|
|
mTranslateY += fixedPoint.y() - bottomRight.y(); |
|
|
|
mTranslateY += fixedPoint.y() - bottomRight.y(); |
|
|
|
} |
|
|
|
} |
|
|
|
else if (moving() || rotating()) |
|
|
|
delegated()->setTransform(buildTransform()); |
|
|
|
delegated()->setTransform(tr); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
else // resizing/resizing horizontally
|
|
|
|
else // resizing/resizing horizontally
|
|
|
|
{
|
|
|
|
{
|
|
|
|