Skip to content

Commit bdc9521

Browse files
committed
Calls new manager queue methods
1 parent 521ea10 commit bdc9521

2 files changed

Lines changed: 6 additions & 8 deletions

File tree

src/input/mouse/MouseManager.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ var MouseManager = new Class({
209209
return;
210210
}
211211

212-
this.manager.queue.push(this.manager.mousePointer.move, this.manager.mousePointer, event);
212+
this.manager.queueMouseMove(event);
213213

214214
if (this.capture)
215215
{
@@ -225,7 +225,7 @@ var MouseManager = new Class({
225225
return;
226226
}
227227

228-
this.manager.queue.push(this.manager.mousePointer.down, this.manager.mousePointer, event);
228+
this.manager.queueMouseDown(event);
229229

230230
if (this.capture)
231231
{
@@ -241,9 +241,7 @@ var MouseManager = new Class({
241241
return;
242242
}
243243

244-
this.manager.queue.push(this.manager.mousePointer.up, this.manager.mousePointer, event);
245-
246-
// TODO - Add native callback support
244+
this.manager.queueMouseUp(event);
247245

248246
if (this.capture)
249247
{

src/input/touch/TouchManager.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ var TouchManager = new Class({
116116
return;
117117
}
118118

119-
this.manager.queue.push(this.manager.startPointer, this.manager, event);
119+
this.manager.queueTouchStart(event);
120120

121121
if (this.capture)
122122
{
@@ -132,7 +132,7 @@ var TouchManager = new Class({
132132
return;
133133
}
134134

135-
this.manager.queue.push(this.manager.updatePointer, this.manager, event);
135+
this.manager.queueTouchMove(event);
136136

137137
if (this.capture)
138138
{
@@ -148,7 +148,7 @@ var TouchManager = new Class({
148148
return;
149149
}
150150

151-
this.manager.queue.push(this.manager.stopPointer, this.manager, event);
151+
this.manager.queueTouchEnd(event);
152152

153153
if (this.capture)
154154
{

0 commit comments

Comments
 (0)