Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 14700 → Rev 14699

/branches/Version135/Scribus/scribus/canvasgesture_resize.h
78,7 → 78,6
QPoint m_mousePressPoint;
QRectF m_bounds;
QRectF m_origBounds;
QRectF m_mousePressBounds;
UndoTransaction* m_transactionStarted;
double m_extraWidth;
double m_extraHeight;
/branches/Version135/Scribus/scribus/canvasgesture_resize.cpp
143,7 → 143,7
{
PageItem* currItem = m_doc->m_Selection->itemAt(0);
// qDebug() << "ResizeGesture::release: new bounds" << m_bounds;
if (m_bounds != m_mousePressBounds)
if (m_bounds != m_origBounds)
{
doResize(m->modifiers() & Qt::AltModifier);
m_doc->setRedrawBounding(currItem);
153,7 → 153,7
m_view->resetMousePressed();
// necessary since mousebutton is still recorded pressed, and otherwise checkchanges() will do nothing
// we must check changes on whole selection otherwise resize operation won't undo correctly on groups
if (m_bounds != m_mousePressBounds)
if (m_bounds != m_origBounds)
{
for (int i = 0; i < m_doc->m_Selection->count(); ++i)
m_doc->m_Selection->itemAt(i)->checkChanges();
327,7 → 327,7
 
if (m_mousePressPoint == m->globalPos())
{
m_bounds = m_mousePressBounds;
m_bounds = m_origBounds;
return;
}
 
551,6 → 551,5
{
prepare(m_handle);
m->accept();
m_mousePressBounds = m_bounds;
}
}