Skip to content

Constructing a Color with an Array also works when a=0. - #70

Merged
city-in-the-sky merged 1 commit into
clips:masterfrom
fdb:colorfix
Mar 11, 2014
Merged

Constructing a Color with an Array also works when a=0.#70
city-in-the-sky merged 1 commit into
clips:masterfrom
fdb:colorfix

Conversation

@fdb

@fdb fdb commented Feb 21, 2014

Copy link
Copy Markdown
Contributor

The r[3] || 1 expression returns the wrong result when r[3] is zero
(since this makes the expression fall through). We now check for
undefined.

The `r[3] || 1` expression returns the wrong result when r[3] is zero
(since this makes the expression fall through). We now check for
undefined.
city-in-the-sky pushed a commit that referenced this pull request Mar 11, 2014
Constructing a Color with an Array also works when a=0.
@city-in-the-sky
city-in-the-sky merged commit b2f2c29 into clips:master Mar 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants