gears.color: Update the property documentation.

This commit is contained in:
Emmanuel Lepage Vallee 2022-08-21 23:02:26 -07:00
parent 8f1a29b15f
commit 52c481babc
1 changed files with 1 additions and 1 deletions

View File

@ -361,7 +361,7 @@ end
-- @staticfct gears.color.change_opacity
-- @tparam string|pattern input The input color.
-- @tparam number opacity A floating point number between 0 and 1.
-- @treturn The new color if successful or `input` if invalid.
-- @treturn color The new color if successful or `input` if invalid.
function color.change_opacity(input, opacity)
input = color.create_pattern(input)