8000 Bug in alpha handling during model conversions · Issue #250 · Qix-/color · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Bug in alpha handling during model conversions #250
Closed
@Qix-

Description

@Qix-

color/index.js

Line 422 in 286fb71

const newAlpha = typeof arguments[channels] === 'number' ? channels : this.valpha;

Not sure how this wasn't caught before. I need to verify it's actually a bug, but pretty sure this will always have an alpha of 4.0 (which isn't correct anyway) if the model conversion is given an alpha value. Need to add a failing test.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0