mapeditor.cpp
branchrelease-1-12-maintained
changeset 41 6f28020b33d1
parent 39 e37153bea487
child 49 d5edb0ae8f2a
     1.1 --- a/mapeditor.cpp	Thu Jul 17 11:11:55 2008 +0000
     1.2 +++ b/mapeditor.cpp	Thu Jul 17 12:55:24 2008 +0000
     1.3 @@ -4760,12 +4760,7 @@
     1.4  				} else
     1.5  				{
     1.6  					// Move ordinary branch
     1.7 -					if (lmosel->getOrientation() == LinkableMapObj::LeftOfCenter)
     1.8 -						// Add width of bbox here, otherwise alignRelTo will cause jumping around
     1.9 -						lmosel->move(p.x() -movingObj_start.x()+lmosel->getBBox().width(), 
    1.10 -							p.y()-movingObj_start.y() +lmosel->getTopPad() );		
    1.11 -					else	
    1.12 -						lmosel->move(p.x() -movingObj_start.x(), p.y()-movingObj_start.y() -lmosel->getTopPad());
    1.13 +					lmosel->move(p.x() -movingObj_start.x(), p.y()-movingObj_start.y()  );		
    1.14  				} 
    1.15  
    1.16  				// Maybe we can relink temporary?