Skip to content

Commit

Permalink
easy jitter callout self running
Browse files Browse the repository at this point in the history
  • Loading branch information
rdp committed Oct 21, 2015
1 parent 60b30f9 commit 47cc4ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/simple_gui_creator/mouse_control.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,6 @@ def get_mouse_location
end

if $0 == __FILE__
MouseControl.jitter_forever_in_own_thread
puts "jittering forever as mouse demo"
MouseControl.jitter_forever_in_own_thread.join
end

0 comments on commit 47cc4ef

Please sign in to comment.