I am sure it is a line of code that will fix my issue, but whenever I maximize my window, sfml will inherently change how my hitboxes work with the user (in this case the mouse). If I start my program at 1280x720p and my hitboxes revolve around that resolution than it will work fine, but if I increase the size of my program to 1400x1080p then my hitboxes "get smaller". The hitboxes in theory do not get smaller, but as the amount of pixels on the screen increase, the hitbox itself doesn't account for the change. Is there something in sfml that will account for resizes or do I have to do the math around it and figure it out?
I am asking this because whenever I resize the window, sfml accounts for the graphical changes the resize did.
I really hope this makes sense...