We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08a02c4 commit 143d598Copy full SHA for 143d598
1 file changed
src/cameras/2d/Camera.js
@@ -852,8 +852,8 @@ var Camera = new Class({
852
originX = follow.x;
853
originY = follow.y;
854
855
- this.scrollX = (originX - width * 0.5)/zoom;
856
- this.scrollY = (originY - height * 0.5)/zoom;
+ this.scrollX = (originX - width * 0.5) / zoom;
+ this.scrollY = (originY - height * 0.5) / zoom;
857
}
858
859
if (this.useBounds)
0 commit comments