Fix weird text offset
This commit is contained in:
parent
e1721fb01b
commit
8d0489cde1
2
init.lua
2
init.lua
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user