Skip to content

Commit

Permalink
== to ===
Browse files Browse the repository at this point in the history
close #16640
  • Loading branch information
afc163 committed May 17, 2019
1 parent 1872f51 commit e0f8aed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/style/color/colorPalette.less
Expand Up @@ -34,7 +34,7 @@
var saturation;
if (isLight) {
saturation = Math.round(hsv.s * 100) - saturationStep * i;
} else if (i == darkColorCount) {
} else if (i === darkColorCount) {
saturation = Math.round(hsv.s * 100) + saturationStep;
} else {
saturation = Math.round(hsv.s * 100) + saturationStep2 * i;
Expand Down

0 comments on commit e0f8aed

Please sign in to comment.