diff options
author | adrido <robots_only_adrido@gmx.com> | 2017-10-09 06:57:18 +0200 |
---|---|---|
committer | Loic Blot <loic.blot@unix-experience.fr> | 2017-10-09 08:11:03 +0200 |
commit | e6e5fa3bf8853f149fdef16b39af3981097176a4 (patch) | |
tree | 968de4d77eabd89ac62534975888c7d859d83857 /builtin | |
parent | 9b8fa99fe30728c1fcfa73cdf74211841bdae9fb (diff) | |
download | minetest-e6e5fa3bf8853f149fdef16b39af3981097176a4.tar.gz minetest-e6e5fa3bf8853f149fdef16b39af3981097176a4.tar.bz2 minetest-e6e5fa3bf8853f149fdef16b39af3981097176a4.zip |
Formspec: textarea with scrollbar improvements
Increase scrollrate depending on fontsize
Scroll on mousewheel
Allow scrolling and marking text on non writable textareas
Update lua api about readonly mode
Show scrollbar if text overflows
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/mainmenu/tab_online.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/mainmenu/tab_online.lua b/builtin/mainmenu/tab_online.lua index 90228b110..b387d9556 100644 --- a/builtin/mainmenu/tab_online.lua +++ b/builtin/mainmenu/tab_online.lua @@ -61,8 +61,8 @@ local function get_formspec(tabview, name, tabdata) fgettext("Del. Favorite") .. "]" end if fav_selected.description then - retval = retval .. "textarea[8.1,2.3;4.23,2.9;;" .. - core.formspec_escape((gamedata.serverdescription or ""), true) .. ";]" + retval = retval .. "textarea[8.1,2.3;4.23,2.9;;;" .. + core.formspec_escape((gamedata.serverdescription or ""), true) .. "]" end end |