phetsims / wave-on-a-string

"Wave on a String" is an educational simulation in HTML5, by PhET Interactive Simulations.
http://phet.colorado.edu/en/simulation/wave-on-a-string
GNU General Public License v3.0
7 stars 8 forks source link

Timer should be draggable by its background and time display, not by the buttons #35

Closed jonathanolson closed 10 years ago

jonathanolson commented 10 years ago

It's only draggable right now by its readout text OR by dragging the buttons, but not by dragging the background.

It should be draggable by its background and readout text, but not by the buttons.

Shouldn't be a difficult fix, would need { down: function( evt ) { evt.handle(); } } or the equivalent to be added as input listeners to the buttons so that you couldn't drag it by the buttons, and add the drag listener just to the entire timer node.