aboutsummaryrefslogtreecommitdiff
path: root/games/devtest/mods/testformspec
diff options
context:
space:
mode:
authorVincent Robinson <robinsonvincent89@gmail.com>2021-01-23 14:48:57 -0800
committerGitHub <noreply@github.com>2021-01-23 14:48:57 -0800
commit6a55c03dabf7b5337233fc80078a300d485fcec4 (patch)
treea34bb863109ebacc0ed110a094747d79b14e5daa /games/devtest/mods/testformspec
parent6417f4d3143bc4c4c7f175aa8e40810cfacb5947 (diff)
downloadminetest-6a55c03dabf7b5337233fc80078a300d485fcec4.tar.gz
minetest-6a55c03dabf7b5337233fc80078a300d485fcec4.tar.bz2
minetest-6a55c03dabf7b5337233fc80078a300d485fcec4.zip
Make hypertext and textarea have proper scroll event propagation. (#10860)
Diffstat (limited to 'games/devtest/mods/testformspec')
-rw-r--r--games/devtest/mods/testformspec/formspec.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/games/devtest/mods/testformspec/formspec.lua b/games/devtest/mods/testformspec/formspec.lua
index 0eef859a9..62578b740 100644
--- a/games/devtest/mods/testformspec/formspec.lua
+++ b/games/devtest/mods/testformspec/formspec.lua
@@ -220,6 +220,8 @@ local scroll_fs =
"tooltip[0,11;3,2;Buz;#f00;#000]"..
"box[0,11;3,2;#00ff00]"..
"hypertext[3,13;3,3;;" .. hypertext_basic .. "]" ..
+ "hypertext[3,17;3,3;;Hypertext with no scrollbar\\; the scroll container should scroll.]" ..
+ "textarea[3,21;3,1;textarea;;More scroll within scroll]" ..
"container[0,18]"..
"box[1,2;3,2;#0a0a]"..
"scroll_container[1,2;3,2;scrbar2;horizontal;0.06]"..