1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

Make hypertext and textarea have proper scroll event propagation. (#10860)

This commit is contained in:
Vincent Robinson 2021-01-23 14:48:57 -08:00 committed by GitHub
parent 6417f4d314
commit 6a55c03dab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 1 deletions

View file

@ -787,6 +787,7 @@ bool GUIEditBox::processMouse(const SEvent &event)
s32 pos = m_vscrollbar->getPos();
s32 step = m_vscrollbar->getSmallStep();
m_vscrollbar->setPos(pos - event.MouseInput.Wheel * step);
return true;
}
break;
default: