191,6 → 191,15 |
newX = qRound(newX / m_doc->guidesSettings.minorGrid) * m_doc->guidesSettings.minorGrid; |
newY = qRound(newY / m_doc->guidesSettings.minorGrid) * m_doc->guidesSettings.minorGrid; |
} |
//<<#8099 |
FPoint np2 = m_doc->ApplyGridF(FPoint(newX, newY)); |
double nx = np2.x(); |
double ny = np2.y(); |
m_doc->ApplyGuides(&nx, &ny); |
newX = qRound(nx); |
newY = qRound(ny); |
//>>#8099 |
|
m_bounds.setBottomRight(QPointF(newX, newY)); |
// qDebug() << "LineMove::adjustBounds" << m_bounds << rotation() << length() << m_bounds.bottomRight(); |
|