projects
/
minwii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
implémentation de l'attribut distinctNotes
[minwii.git]
/
src
/
app
/
widgets
/
cursors.py
diff --git
a/src/app/widgets/cursors.py
b/src/app/widgets/cursors.py
index
2c22b5d
..
db1ac56
100755
(executable)
--- a/
src/app/widgets/cursors.py
+++ b/
src/app/widgets/cursors.py
@@
-53,7
+53,6
@@
class WarpingCursor(pygame.sprite.DirtySprite, EventHandlerMixin):
pygame.event.set_allowed(pygame.MOUSEMOTION)
# ---
x, y = pygame.mouse.get_pos()
pygame.event.set_allowed(pygame.MOUSEMOTION)
# ---
x, y = pygame.mouse.get_pos()
- print 'mouse pos :', x, y
left = x - self.width / 2
top = y - self.height / 2
self.rect = pygame.Rect((left, top), (self.width, self.height))
left = x - self.width / 2
top = y - self.height / 2
self.rect = pygame.Rect((left, top), (self.width, self.height))