From fd22d512072ff53ae6059f51b251c9ce39c12a58 Mon Sep 17 00:00:00 2001 From: Pepijn Krijnsen <69592786+pepijnKrijnsen@users.noreply.github.com> Date: Sat, 12 Feb 2022 10:07:22 +0000 Subject: [PATCH] Correct width and height documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- lib/wibox/container/constraint.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/wibox/container/constraint.lua b/lib/wibox/container/constraint.lua index 4bd90d59b..62c051f01 100644 --- a/lib/wibox/container/constraint.lua +++ b/lib/wibox/container/constraint.lua @@ -99,8 +99,8 @@ end --- Set the maximum width to val. nil for no width limit. -- --- @property height --- @tparam number height +-- @property width +-- @tparam number width -- @propemits true false function constraint:set_width(val) @@ -115,8 +115,8 @@ end --- Set the maximum height to val. nil for no height limit. -- --- @property width --- @tparam number width +-- @property height +-- @tparam number height -- @propemits true false function constraint:set_height(val)