projects
/
perl-landing-airplanes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c650203
)
remove mount position debug output
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 19 May 2010 17:30:30 +0000
(19:30 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 19 May 2010 17:30:30 +0000
(19:30 +0200)
trace-path.pl
patch
|
blob
|
history
diff --git
a/trace-path.pl
b/trace-path.pl
index
05dccdd
..
c3fae62
100755
(executable)
--- a/
trace-path.pl
+++ b/
trace-path.pl
@@
-104,7
+104,7
@@
sub handle_events {
debug 'key up', $event->key_name;
} elsif ( $type == SDL_MOUSEMOTION() ) {
my ( $x, $y ) = ( $event->motion_x, $event->motion_y );
- debug 'mouse', $mouse_down, $x, $y;
+
#
debug 'mouse', $mouse_down, $x, $y;
my $dx = abs( $last_x - $x );
my $dy = abs( $last_y - $y );
if ( $mouse_down && ( $dx > $mouse_trashold || $dy > $mouse_trashold ) ) {