Skip to content

Commit 66a0952

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

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
@@ -109,7 +109,7 @@ export class UUIColorSliderElement extends LabelMixin('label', LitElement) {
109109
if (this.type === 'hue') {
110110
this.max = 360;
111111
} else if (this.type === 'saturation') {
112-
this.max = this.max ?? 100;
112+
this.max = 100;
113113
} else if (this.type === 'lightness') {
114114
this.max = this.max ?? 100;
115115
} else if (this.type === 'opacity') {

0 commit comments

Comments
 (0)