Mario: fix scrolling in load scene
This commit is contained in:
parent
f0182cf4d4
commit
b175e58714
@ -248,7 +248,7 @@ void __pollEvents_LoadDialog(std::shared_ptr<SDLPP::Scene> &scene) {
|
|||||||
__cur_button_index_load_dialog;
|
__cur_button_index_load_dialog;
|
||||||
break;
|
break;
|
||||||
case SDL_MOUSEWHEEL:
|
case SDL_MOUSEWHEEL:
|
||||||
if (event.wheel.y > 0) {
|
if (event.wheel.y < 0) {
|
||||||
__moveButtons(-0.02);
|
__moveButtons(-0.02);
|
||||||
} else if (event.wheel.y < 0) {
|
} else if (event.wheel.y < 0) {
|
||||||
__moveButtons(0.02);
|
__moveButtons(0.02);
|
||||||
|
Loading…
Reference in New Issue
Block a user