Fix weird text offset

This commit is contained in:
Wuzzy 2019-03-17 07:25:04 +01:00
parent e1721fb01b
commit 8d0489cde1

View File

@ -498,7 +498,7 @@ doc.widgets.text = function(data, x, y, width, height)
height = doc.FORMSPEC.ENTRY_HEIGHT height = doc.FORMSPEC.ENTRY_HEIGHT
end end
local formstring = "textarea["..tostring(x+0.35)..","..tostring(y)..";"..tostring(width)..","..tostring(height)..";;;"..minetest.formspec_escape(data).."]" local formstring = "textarea["..tostring(x)..","..tostring(y)..";"..tostring(width)..","..tostring(height)..";;;"..minetest.formspec_escape(data).."]"
return formstring return formstring
end end