code-dot-org/code-dot-org — pull request #56 by Bjvanminnen (2014-09-26 21:33:04+00:00)
Title: fix run/reset button for a couple apps i missed

Properly toggle run/reset for all apps.

I originally made this change for maze, not doing a good job of considering other apps. I then realized artist was broken, and made a second commit to fix it there. I was however apparently not insightful enough to consider that we also have other apps that would be affected. This rectifies that lack of earlier insightfulness, fixing the issue for studio, flappy, and bounce.

This also goes to show that some of this logic would probably be better suited to live in a single location (i.e. have a runButtonClick in base, that then also calls an app specific version for non-shared logic).