mirror of
https://github.com/lalbornoz/roar.git
synced 2024-12-23 04:46:37 +00:00
MiRCART.py:MiRCARTToolRect.onMouse{Down,Motion}(): remove debugging print()s.
This commit is contained in:
parent
68ba42f244
commit
7a891d9863
@ -233,14 +233,10 @@ class MiRCARTToolRect(MiRCARTTool):
|
||||
# }}}
|
||||
# {{{ onMouseDown(): XXX
|
||||
def onMouseDown(self, event, mapX, mapY, isLeftDown, isRightDown):
|
||||
print("mouse down")
|
||||
return self._draw(event, mapX, mapY, isLeftDown, isRightDown)
|
||||
# }}}
|
||||
# {{{ onMouseMotion(): XXX
|
||||
def onMouseMotion(self, event, mapX, mapY, isLeftDown, isRightDown):
|
||||
print("mouse moving")
|
||||
if isLeftDown or isRightDown:
|
||||
print("mouse depressed")
|
||||
return self._draw(event, mapX, mapY, isLeftDown, isRightDown)
|
||||
# }}}
|
||||
# {{{ Initialisation method
|
||||
|
Loading…
Reference in New Issue
Block a user