diff options
author | Walter 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) |
commit | af891b8342d29a6f52ad7527862a607ae277c855 (patch) | |
tree | 42ec21b9f869390c8cb674f0ae133ac56f922ce4 /window.py | |
parent | 0741bf5614e511aba4cddf320bf7c3906dc528e8 (diff) |
added match highight
Diffstat (limited to 'window.py')
-rw-r--r-- | window.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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: |