graphics/GraphicCommons.py
changeset 265 23aad5ae0dc1
parent 253 d9391572655f
child 269 34eff05909b0
--- a/graphics/GraphicCommons.py	Mon Sep 08 16:59:37 2008 +0200
+++ b/graphics/GraphicCommons.py	Wed Sep 10 16:46:22 2008 +0200
@@ -315,7 +315,7 @@
         ResetCursors()
     
     def TestVisible(self, screen):
-        self.Visible = self.BoundingBox.Intersects(screen)
+        self.Visible = self.GetRedrawRect().Intersects(screen)
     
     def IsVisible(self):
         return self.Visible