SFML / imgui-sfml

Dear ImGui backend for use with SFML
MIT License
1.13k stars 169 forks source link

Fix for removed Event Inheritance #287

Closed AlexAUT closed 2 months ago

AlexAUT commented 2 months ago

Event inheritance was removed in SFML3. I can also split the lambda into two if that is preferred over the auto parameter.

ChrisThrasher commented 2 months ago

Looks like we need to update the examples to handle how pollEvent now returns a std::optional<sf::Event> rather than just an sf::Event. Would you mind fixing that real quick?

AlexAUT commented 2 months ago

You can also close #285 after this one is merged.

ChrisThrasher commented 2 months ago

You can also close #285 after this one is merged.

lol I forgot to merge my own PR. My bad.