photonstorm/phaser — pull request #702 by georgiee (2014-04-10 19:17:33+00:00)
Title: The pointer.isUp state within an onUp handler is wrong

```
//This is a onUp event handler, so this should be false for every pointer as it was released. It isn't.
this.game.input.onUp.add(function(pointer){ console.log(pointer.isDown) } )

```
I moved the block where the flags for `withinGame`, `isDown` & `isUp` are updated in front of the dispatched signal. Now the values are correct when checked inside of a onUp handler. Maybe something else in this parts should be moved in front of the dispatching part ?