mirror of
https://github.com/lalbornoz/roar.git
synced 2024-11-22 15:26: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
|
# {{{ onMouseDown(): XXX
|
||||||
def onMouseDown(self, event, mapX, mapY, isLeftDown, isRightDown):
|
def onMouseDown(self, event, mapX, mapY, isLeftDown, isRightDown):
|
||||||
print("mouse down")
|
|
||||||
return self._draw(event, mapX, mapY, isLeftDown, isRightDown)
|
return self._draw(event, mapX, mapY, isLeftDown, isRightDown)
|
||||||
# }}}
|
# }}}
|
||||||
# {{{ onMouseMotion(): XXX
|
# {{{ onMouseMotion(): XXX
|
||||||
def onMouseMotion(self, event, mapX, mapY, isLeftDown, isRightDown):
|
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)
|
return self._draw(event, mapX, mapY, isLeftDown, isRightDown)
|
||||||
# }}}
|
# }}}
|
||||||
# {{{ Initialisation method
|
# {{{ Initialisation method
|
||||||
|
Loading…
Reference in New Issue
Block a user