We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Related to #1135.
I ran in to this inconsistency while working on bamboo.
Color.toColor( null ) and new Color( null ) both fail an assertion in Color set. PaintDef treats null as Color.TRANSPARENT.
Color.toColor( null )
new Color( null )
set
PaintDef
null
Color.TRANSPARENT
The text was updated successfully, but these errors were encountered:
Color.toColor accepting null => transparent, see #1136
d722983
Adding new Color( null ) support, see #1136
cef3892
Consistency of treating null as transparent seems beneficial. I've added the support to new Color( null ) and Color.toColor( null ) above.
Sorry, something went wrong.
change {String} to {string}, #1136
5dfb59d
Looks good, expect this type expression is incorrect:
@param {String|Color|null} colorSpec
It should be string, fixed in the above commit.
string
Closing.
pixelzoom
No branches or pull requests
Related to #1135.
I ran in to this inconsistency while working on bamboo.
Color.toColor( null )
andnew Color( null )
both fail an assertion in Colorset
.PaintDef
treatsnull
asColor.TRANSPARENT
.The text was updated successfully, but these errors were encountered: