Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bjarnef committed Sep 29, 2023
1 parent 5eec6bd commit 77774cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/uui-color-area/lib/uui-color-area.element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ export class UUIColorAreaElement extends LitElement {
if (parsed.isValid()) {
const { h, s, l, a } = parsed.toHsl();

Check failure on line 154 in packages/uui-color-area/lib/uui-color-area.element.ts

View workflow job for this annotation

GitHub Actions / test (18.x)

's' is assigned a value but never used

// Update hue from parsed color, but when color is black, value from hue slider may be different from zero.
if (h !== 0) {
this.hue = h;
}
Expand Down

0 comments on commit 77774cb

Please sign in to comment.