# HG changeset patch # User Neil Muller # Date 1344171746 -7200 # Node ID 62f4f948ff0104760017268df23687fc761a5e4e # Parent f33dd2093f7761724b2f25da54285d273c9be799 Fix bug with zooms and images diff -r f33dd2093f77 -r 62f4f948ff01 pyntnclick/tools/rect_drawer.py --- a/pyntnclick/tools/rect_drawer.py Sun Aug 05 14:55:48 2012 +0200 +++ b/pyntnclick/tools/rect_drawer.py Sun Aug 05 15:02:26 2012 +0200 @@ -511,7 +511,7 @@ else: cand = None for image in self.images: - if image.rect.collidepoint(ev.pos): + if image.rect.collidepoint(pos): cand = image break if cand: