particle-clicker/particle-clicker — pull request #57 by cgeorg (2014-08-11 21:10:10+00:00)
Title: Set the number of events to delete correctly

The code was only freeing up to 20 or so events, depending on how many particles the last non-visible event had. Correctly setting the index to delete-up-to to be the highest non-visible event.