From: <Blu...@us...> - 2010-09-06 16:00:39
|
Revision: 392 http://virtplayground.svn.sourceforge.net/virtplayground/?rev=392&view=rev Author: BlueWolf_ Date: 2010-09-06 16:00:32 +0000 (Mon, 06 Sep 2010) Log Message: ----------- Fixed a update bug when moving the window very fast to the topleft. Can't figure out yet why the inner-window looks partly transparent Modified Paths: -------------- trunk/client/gui.py Modified: trunk/client/gui.py =================================================================== --- trunk/client/gui.py 2010-09-05 21:06:29 UTC (rev 391) +++ trunk/client/gui.py 2010-09-06 16:00:32 UTC (rev 392) @@ -576,7 +576,7 @@ # Combina the old rect and the new rect to update our whole move updaterect = oldrect.union(self.rect) - updaterect.topleft = (oldrect[0]-self.rect[0], oldrect[1]-self.rect[1]) + updaterect.move_ip(-self.rect[0], -self.rect[1]) self.update(updaterect, render=False) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |