Mario: fix scrolling in load scene

This commit is contained in:
zv0n 2023-04-08 19:16:46 +02:00
parent f0182cf4d4
commit b175e58714

View File

@ -248,7 +248,7 @@ void __pollEvents_LoadDialog(std::shared_ptr<SDLPP::Scene> &scene) {
__cur_button_index_load_dialog;
break;
case SDL_MOUSEWHEEL:
if (event.wheel.y > 0) {
if (event.wheel.y < 0) {
__moveButtons(-0.02);
} else if (event.wheel.y < 0) {
__moveButtons(0.02);