We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85b0b21 commit c2e0256Copy full SHA for c2e0256
druid/color.lua
@@ -17,7 +17,7 @@ local COLOR_Z = hash("color.z")
17
---Get color by ID from palette, hex string, or return vector as-is.
18
---If color_id is not found in palette and not a hex string, returns white.
19
---@param color_id string|vector4|vector3 Color id from palette, hex color string, or vector
20
----@return vector4|vector3
+---@return vector4
21
function M.get_color(color_id)
22
if type(color_id) ~= "string" then
23
return color_id
0 commit comments