diff options
author | Vincent Robinson <robinsonvincent89@gmail.com> | 2021-01-23 14:48:57 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-23 14:48:57 -0800 |
commit | 6a55c03dabf7b5337233fc80078a300d485fcec4 (patch) | |
tree | a34bb863109ebacc0ed110a094747d79b14e5daa /src/gui/guiEditBox.cpp | |
parent | 6417f4d3143bc4c4c7f175aa8e40810cfacb5947 (diff) | |
download | minetest-6a55c03dabf7b5337233fc80078a300d485fcec4.tar.gz minetest-6a55c03dabf7b5337233fc80078a300d485fcec4.tar.bz2 minetest-6a55c03dabf7b5337233fc80078a300d485fcec4.zip |
Make hypertext and textarea have proper scroll event propagation. (#10860)
Diffstat (limited to 'src/gui/guiEditBox.cpp')
-rw-r--r-- | src/gui/guiEditBox.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/guiEditBox.cpp b/src/gui/guiEditBox.cpp index 1214125a8..79979dbc3 100644 --- a/src/gui/guiEditBox.cpp +++ b/src/gui/guiEditBox.cpp @@ -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: |