It was really annoying me just now so I decided to take a look at CGUIListBox.cpp in the engine. I did manage to fix it.
in bool CGUIListBox::OnEvent(const SEvent& event)
in case EET_MOUSE_INPUT_EVENT:
in switch(event.MouseInput.Event)
in case EMIE_MOUSE_WHEEL:
I changed the line:
Code: Select all
ScrollBar->setPos(ScrollBar->getPos() + (s32)event.MouseInput.Wheel*-ItemHeight/2);
Code: Select all
ScrollBar->setPos(ScrollBar->getPos() + ((event.MouseInput.Wheel < 0) ? ItemHeight/2 : -ItemHeight/2));
and it fixed it.
Don't know if it's actually a bug or not, since I assume that if the engine was broken in someway, something as obvious as using the mouse wheel in a list box would've been picked up on before now. If it's working for everyone else, maybe it has something to do with my mouse wheel sensitivity. But yeah this fixed the problem for me so I just thought I would mention it here.