Skip to content

Commit dbfd73d

Browse files
committed
Pointer.reset no longer resets the isDown state or buttons
1 parent 80fd5d9 commit dbfd73d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/input/Pointer.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,14 @@ var Pointer = new Class({
117117

118118
reset: function ()
119119
{
120-
this.buttons = 0;
120+
// this.buttons = 0;
121121

122122
this.dirty = false;
123-
this.isDown = false;
123+
124124
this.justDown = false;
125125
this.justUp = false;
126126
this.justMoved = false;
127+
127128
this.movementX = 0;
128129
this.movementY = 0;
129130
},

0 commit comments

Comments
 (0)