Skip to content

Commit d7aeb38

Browse files
leekelleheriOvergaard
authored andcommitted
fix(uui-color-slider): sets max = 100 for lightness type
1 parent 66a0952 commit d7aeb38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/uui-color-slider/lib/uui-color-slider.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export class UUIColorSliderElement extends LabelMixin('label', LitElement) {
111111
} else if (this.type === 'saturation') {
112112
this.max = 100;
113113
} else if (this.type === 'lightness') {
114-
this.max = this.max ?? 100;
114+
this.max = 100;
115115
} else if (this.type === 'opacity') {
116116
this.max = this.max ?? 100;
117117
}

0 commit comments

Comments
 (0)