Add style_type to force white text for textarea

This commit is contained in:
Wuzzy 2020-03-10 18:13:47 +01:00
parent ea4eece975
commit 42e69257c8

View File

@ -657,7 +657,9 @@ end)
function doc.formspec_core(tab)
if tab == nil then tab = 1 else tab = tostring(tab) end
return "size["..doc.FORMSPEC.WIDTH..","..doc.FORMSPEC.HEIGHT.."]tabheader[0,0;doc_header;"..
return "size["..doc.FORMSPEC.WIDTH..","..doc.FORMSPEC.HEIGHT.."]"..
"style_type[textarea;textcolor=#FFFFFF]"..
"tabheader[0,0;doc_header;"..
minetest.formspec_escape(S("Category list")) .. "," ..
minetest.formspec_escape(S("Entry list")) .. "," ..
minetest.formspec_escape(S("Entry")) .. ";"