utilsintersection.entitiesInAABB checks intersection by size, but doesn't take into account the scale of the entity. This causes large buttons to only register taps in the top left corner while the bottom right corner is ignored. This commit fixes the issue by multiplying entity size by the entity's scaleMod. That way the entire button's surface is now clickable.
utilsintersection.entitiesInAABB checks intersection by size, but doesn't take into account the scale of the entity. This causes large buttons to only register taps in the top left corner while the bottom right corner is ignored. This commit fixes the issue by multiplying entity size by the entity's scaleMod. That way the entire button's surface is now clickable.