diff --git a/src/input/mouse/MouseManager.js b/src/input/mouse/MouseManager.js index 42a0bb4cf..4b2e105be 100644 --- a/src/input/mouse/MouseManager.js +++ b/src/input/mouse/MouseManager.js @@ -244,21 +244,6 @@ var MouseManager = new Class({ { var _this = this; - /* - var storeDelta = function (event) - { - var x1 = _this.position.x; - var y1 = _this.position.y; - - var x2 = _this.prevPosition.x; - var y2 = _this.prevPosition.y; - - event._deltaX = x1 - x2; - event._deltaY = y1 - y2; - event._angle = Math.atan2(y2 - y1, x2 - x1); - }; - */ - this.onMouseMove = function (event) { if (event.defaultPrevented || !_this.enabled || !_this.manager) @@ -267,8 +252,6 @@ var MouseManager = new Class({ return; } - // storeDelta(event); - _this.manager.queueMouseMove(event); if (_this.capture) @@ -285,8 +268,6 @@ var MouseManager = new Class({ return; } - // storeDelta(event); - _this.manager.queueMouseDown(event); if (_this.capture) @@ -303,8 +284,6 @@ var MouseManager = new Class({ return; } - // storeDelta(event); - _this.manager.queueMouseUp(event); if (_this.capture)