This commit is contained in:
Thomas Breloff 2015-10-29 13:26:40 -04:00
parent 26e4b4efda
commit 42c3827ded

View File

@ -112,7 +112,7 @@ function convertColor(c, α::Real)
RGBA(RGB(c), α)
end
convertColor(cs::AVec, α::Real) = map(c -> convertColor(c, α), cs)
convertColor(c, α::Void) = convertColor(c)
convertColor(c, α::@compat(Void)) = convertColor(c)
# backup... try to convert
getColor(c) = convertColor(c)