[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/karbon/tools
From:       Jan Hambrecht <jaham () gmx ! net>
Date:       2006-01-12 22:29:53
Message-ID: 1137104993.084581.30954.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 497503 by jaham:

fix scaling of selection



 M  +3 -3      vselecttool.cc  


--- trunk/koffice/karbon/tools/vselecttool.cc #497502:497503
@@ -179,10 +179,10 @@
 	m_activeNode = view()->part()->document().selection()->handleNode( first() );
 	KoRect rect = view()->part()->document().selection()->boundingBox();
 
-	if( rect.contains( m_current ) && m_state == normal )
+	if( m_activeNode != node_none )
+		m_state = scaling;
+	else if( rect.contains( m_current ) && m_state == normal )
 		m_state = moving;
-	else if( m_activeNode != node_none ) 
-		m_state = scaling;
 
 	recalc();
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic