1. Arne Babenhauserheide
  2. pyrad

Commits

ar...@brand.medma  committed e46b379

FIX 'collsion code': Icons were hit outside their image.

Comments (0)

Files changed (1)

File pyrad.py Modified

View file
  • Ignore whitespace
  • Hide word diff
 		    
     def isInside(self, point, thing):
 	"""Check, if the point is inside the thing."""
-	if point.x() > thing.x() and point.x() < thing.x() + thing.width() and point.y() > thing.y() and point.y() < thing.y() + self.height():
+	if point.x() > thing.x() and point.x() < thing.x() + thing.width() and point.y() > thing.y() and point.y() < thing.y() + thing.height():
             return True
         else:
             return False