mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Make hypertext and textarea have proper scroll event propagation. (#10860)
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user