Fix weird text offset

master
Wuzzy 2019-03-17 07:25:04 +01:00
parent e1721fb01b
commit 8d0489cde1
1 changed files with 1 additions and 1 deletions

View File

@ -498,7 +498,7 @@ doc.widgets.text = function(data, x, y, width, height)
height = doc.FORMSPEC.ENTRY_HEIGHT
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
end