Merge pull request #212 from dmi7ry/patch-2

misprint in new_text() documentation (Tet → Text)
This commit is contained in:
Maksim Tuprikov 2022-11-03 08:53:13 +01:00 committed by GitHub
commit c766dc7ba4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -569,7 +569,7 @@ end
-- @tparam node node Gui text node
-- @tparam[opt] string value Initial text. Default value is node text from GUI scene.
-- @tparam[opt] bool no_adjust If true, text will be not auto-adjust size
-- @treturn Tet text component
-- @treturn Text text component
function DruidInstance.new_text(self, node, value, no_adjust)
return DruidInstance.new(self, text, node, value, no_adjust)
end