Hey, i have really confusing problem. i have just created a button class, and it work fine but when i use view move() method button is moving, but click hitbox is still staying in the same position. I am new at sfml and i have no idea how to solve it.
In the attachment are class .h, .cpp files and main.cpp file.
Help ;c
PS: Sorry for my English