Skip to content

Commit 43845c2

Browse files
jeroenverfallieclark-stevenson
authored andcommitted
Fixed pixel perfect dragging, this was still using the old property 'pixelPerfect' instead of the new 'pixelPerfectClick'
1 parent 0d04eef commit 43845c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/input/InputHandler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1133,7 +1133,7 @@ Phaser.InputHandler.prototype = {
11331133
this.dragOffset = new Phaser.Point();
11341134
this.dragFromCenter = lockCenter;
11351135

1136-
this.pixelPerfect = pixelPerfect;
1136+
this.pixelPerfectClick = pixelPerfect;
11371137
this.pixelPerfectAlpha = alphaThreshold;
11381138

11391139
if (boundsRect)

0 commit comments

Comments
 (0)