We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 678fcf3 commit 83ce5dfCopy full SHA for 83ce5df
imgui-SFML.cpp
@@ -305,8 +305,8 @@ void ProcessEvent(const sf::Event& event) {
305
s_touchDown[event.touch.finger] = true;
306
}
307
} break;
308
- case sf::Event::MouseWheelMoved:
309
- io.MouseWheel += static_cast<float>(event.mouseWheel.delta);
+ case sf::Event::MouseWheelScrolled:
+ io.MouseWheel += event.mouseWheelScroll.delta;
310
break;
311
case sf::Event::KeyPressed: // fall-through
312
case sf::Event::KeyReleased:
0 commit comments