Skip to content

Commit c1eb456

Browse files
committed
Mouse.mouseMoveCallback is flagged as deprecated.
1 parent b22233a commit c1eb456

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ Version 2.2.2 - "Alkindar" - in development
8484
* Removed redundant `tolerance` parameter from Rectangle.intersects (thanks @toolness #1463)
8585
* Phaser.Graphics.drawCircle now overrides PIXI.drawCircle which means the docs are now correct re: diameter not radius (thanks @ethankaminski #1454)
8686
* Device.webAudio check inversed to avoid throwing a warning in Chrome.
87+
* Mouse.mouseMoveCallback is flagged as deprecated.
8788

8889
### Bug Fixes
8990

src/input/Mouse.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ Phaser.Mouse = function (game) {
3232
this.mouseDownCallback = null;
3333

3434
/**
35-
* @property {function} mouseMoveCallback - A callback that can be fired when the mouse is moved while pressed down.
35+
* @property {function} mouseMoveCallback - A callback that can be fired when the mouse is moved.
36+
* @deprecated Will be removed soon. Please use `Input.addMoveCallback` instead.
3637
*/
3738
this.mouseMoveCallback = null;
3839

0 commit comments

Comments
 (0)