HaxeFlixel/flixel — pull request #1259 by ezacharyk (2014-08-04 15:56:02+00:00)
Title: Change the updateFollow function, style SCREEN_BY_SCREEN check

Change the updateFollow function. In the style SCREEN_BY_SCREEN check, changed the lines targetX > (scroll.x + width) to targetX >= (scroll.x + width). Same for the TargetY section.

This allows for switching to the next screen when moving right or down upon
the followed sprite moving completely to the next screen rather than
waiting until they move further in to the screen.

This came to light when using this camera style in combination with grid based movement.