[Kst] branches/work/kst/1.5/kst/src/libkstapp

Andrew Walker arwalker at sumusltd.com
Thu Aug 30 22:47:53 CEST 2007


SVN commit 706597 by arwalker:

CCBUG:123561 Also fix the same problem for resizing objects

 M  +6 -2      ksttoplevelview.cpp  


--- branches/work/kst/1.5/kst/src/libkstapp/ksttoplevelview.cpp #706596:706597
@@ -988,8 +988,13 @@
       // we are resizing rectangular object(s)
       releasePressLayoutModeResize(pos, shift);
     }
+
+    if (_pressTarget->parent()) {
+      _pressTarget->parent()->invalidateClipRegion();
+    }
+
     _pressTarget->setFocus(true);
-  } else { 
+  } else {
     // selecting objects using rubber band
     releasePressLayoutModeSelect(pos, shift);
   }
@@ -1050,7 +1055,6 @@
       thisObj->move(_pressTarget->position() + thisObj->geometry().topLeft() - old.topLeft());
     }
   }
-  container->invalidateClipRegion();
 
   if (updateViewManager) {
     KstApp::inst()->updateViewManager(true);


More information about the Kst mailing list