Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/window.py
diff options
context:
space:
mode:
authorWalter Bender <walter@walter-laptop.(none)>2010-02-24 16:59:41 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2010-02-24 16:59:41 (GMT)
commitaf891b8342d29a6f52ad7527862a607ae277c855 (patch)
tree42ec21b9f869390c8cb674f0ae133ac56f922ce4 /window.py
parent0741bf5614e511aba4cddf320bf7c3906dc528e8 (diff)
added match highight
Diffstat (limited to 'window.py')
-rw-r--r--window.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/window.py b/window.py
index dbfcef3..60f6309 100644
--- a/window.py
+++ b/window.py
@@ -81,6 +81,7 @@ def _button_press_cb(win, event, tw):
win.grab_focus()
x, y = map(int, event.get_coords())
tw.start_drag = [x,y]
+ tw.grid.hide_masks()
spr = tw.sprites.find_sprite((x,y))
if spr is None:
tw.press = -1
@@ -95,6 +96,7 @@ def _button_press_cb(win, event, tw):
#
def _button_release_cb(win, event, tw):
win.grab_focus()
+ tw.grid.hide_masks()
x, y = map(int, event.get_coords())
spr = tw.sprites.find_sprite((x,y))
if spr is None: