mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 07:01:20 +00:00
Mouse.mouseMoveCallback is flagged as deprecated.
This commit is contained in:
parent
b22233a0bc
commit
c1eb456ed2
2 changed files with 3 additions and 1 deletions
|
@ -84,6 +84,7 @@ Version 2.2.2 - "Alkindar" - in development
|
|||
* Removed redundant `tolerance` parameter from Rectangle.intersects (thanks @toolness #1463)
|
||||
* Phaser.Graphics.drawCircle now overrides PIXI.drawCircle which means the docs are now correct re: diameter not radius (thanks @ethankaminski #1454)
|
||||
* Device.webAudio check inversed to avoid throwing a warning in Chrome.
|
||||
* Mouse.mouseMoveCallback is flagged as deprecated.
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
|
|
|
@ -32,7 +32,8 @@ Phaser.Mouse = function (game) {
|
|||
this.mouseDownCallback = null;
|
||||
|
||||
/**
|
||||
* @property {function} mouseMoveCallback - A callback that can be fired when the mouse is moved while pressed down.
|
||||
* @property {function} mouseMoveCallback - A callback that can be fired when the mouse is moved.
|
||||
* @deprecated Will be removed soon. Please use `Input.addMoveCallback` instead.
|
||||
*/
|
||||
this.mouseMoveCallback = null;
|
||||
|
||||
|
|
Loading…
Reference in a new issue