SFML / imgui-sfml

Dear ImGui backend for use with SFML
MIT License
1.15k stars 172 forks source link

Fix for removed Event Inheritance #287

Closed AlexAUT closed 4 months ago

AlexAUT commented 4 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 4 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 4 months ago

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

ChrisThrasher commented 4 months ago

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

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