Skip to content

Commit

Permalink
Fix FlxPointer.overlaps with different cameras (#2885)
Browse files Browse the repository at this point in the history
  • Loading branch information
Starmapo authored Aug 9, 2023
1 parent 080eed8 commit fb9907e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flixel/input/FlxPointer.hx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class FlxPointer
}
else
{
getPosition(_cachedPoint);
getWorldPosition(Camera, _cachedPoint);
var object:FlxObject = cast ObjectOrGroup;
result = object.overlapsPoint(_cachedPoint, true, Camera);
}
Expand Down

0 comments on commit fb9907e

Please sign in to comment.