Skip to content

Commit 284370d

Browse files
authored
Merge pull request mdn#54 from bytesnz/fix-color-picker
Fix setting of HSL values from hexa input
2 parents 306a511 + 7302bf2 commit 284370d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/color-picker/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ var UIColorPicker = (function UIColorPicker() {
193193
this.b = parseInt(value.substr(4, 2), 16);
194194

195195
this.alpha = 1;
196-
this.RGBtoHWB();
196+
this.updateHSX();
197197
};
198198

199199
/*========== Conversion Methods ==========*/

0 commit comments

Comments
 (0)