Correct width and height documentation
The constraint:set_width function listed ‘height’ as a required parameter; the constraint:set_height function listed ‘width’ as a required parameter. Swapped those around.
This commit is contained in:
parent
86b6c49a0f
commit
fd22d51207
|
@ -99,8 +99,8 @@ end
|
||||||
|
|
||||||
--- Set the maximum width to val. nil for no width limit.
|
--- Set the maximum width to val. nil for no width limit.
|
||||||
--
|
--
|
||||||
-- @property height
|
-- @property width
|
||||||
-- @tparam number height
|
-- @tparam number width
|
||||||
-- @propemits true false
|
-- @propemits true false
|
||||||
|
|
||||||
function constraint:set_width(val)
|
function constraint:set_width(val)
|
||||||
|
@ -115,8 +115,8 @@ end
|
||||||
|
|
||||||
--- Set the maximum height to val. nil for no height limit.
|
--- Set the maximum height to val. nil for no height limit.
|
||||||
--
|
--
|
||||||
-- @property width
|
-- @property height
|
||||||
-- @tparam number width
|
-- @tparam number height
|
||||||
-- @propemits true false
|
-- @propemits true false
|
||||||
|
|
||||||
function constraint:set_height(val)
|
function constraint:set_height(val)
|
||||||
|
|
Loading…
Reference in New Issue