Hey guys!
I am currently building a small little application but I am wanting to introduce some of the zooming of the screen as part of the game play. The issue is when I view.zoom() everything zooms correctly EXCEPT I am not able to register my hover effect on text. I have to have the mouse below and to the right of the text to get the hover event.
Here is the code I am using:
textItem.getGlobalBounds().contains(sf::Mouse::getPosition(app).x, sf::Mouse::getPosition(app).y))
{
hover();
}
works I don't have the zoom view attached and active to the current window.