aboutsummaryrefslogtreecommitdiff
path: root/pixelmappers/SimpleMapper.py
diff options
context:
space:
mode:
Diffstat (limited to 'pixelmappers/SimpleMapper.py')
-rw-r--r--pixelmappers/SimpleMapper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pixelmappers/SimpleMapper.py b/pixelmappers/SimpleMapper.py
index 7d730f1..4b5377d 100644
--- a/pixelmappers/SimpleMapper.py
+++ b/pixelmappers/SimpleMapper.py
@@ -5,7 +5,7 @@ class SimpleMapper(PixelMapper):
bestDist = 10**10 #don't kill me, I'm lazy
bestPixel = None
for pixel in screen:
- pixelDist = Util.dist(pixel.location, eventLocation)
+ pixelDist = Geo.dist(pixel.location, eventLocation)
if pixelDist < bestDist:
bestPixel = pixel
bestDist = pixelDist