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:
parent
6417f4d314
commit
6a55c03dab
3 changed files with 4 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue