phaser/src/cameras
Bill Reed 0c12d836a2
2d Camera startFollow should respect useBounds
It was possible for the 2d camera's `startFollow` method to set the `scrollX` and `scrollY` values out of the camera's bounds, even when `useBounds` was set to true.

This PR ensures that `useBounds` is respected by the `startFollow` method when setting the `scrollX` and `scrollY` values. 

Question - should this check also happen when setting the `midpoint` with the `fx` and `fy` values?
2019-01-27 16:01:34 -05:00
..
2d 2d Camera startFollow should respect useBounds 2019-01-27 16:01:34 -05:00
controls Happy New Year 2019-01-15 16:20:22 +00:00
index.js Happy New Year 2019-01-15 16:20:22 +00:00