GigaBots/Dashboard_Mindstorm — pull request #12 by dibaggioj (2014-07-01 16:40:08+00:00)
Title: Update main.js and phaser.min.js

Addressed issue when a button is clicked and the mouse is dragged out of the canvas while the mouse is still down, causing the button to stay down (most noticeable with the Forward and Reverse buttons). Small modification to Phaser framework—Set mouseOut event listener to have mouseUp callback instead of mouseOut callback in phaser.min.js:
...
this.game.canvas.addEventListener("mousedown", this._onMouseDown, !0),
this.game.canvas.addEventListener("mousemove", this._onMouseMove, !0),
this.game.canvas.addEventListener("mouseup", this._onMouseUp, !0),
this.game.canvas.addEventListener("mouseover", this._onMouseOver, !0),
//here:
this.game.canvas.addEventListener("mouseout", this._onMouseUp, !0)
...

Other small changes to main.js