RubyGems
npm
Organizations
Log in
Sign up
npm
ph-utils
Versions diffs
0.4.4 → 0.4.5
ph-utils 0.4.4 → 0.4.5
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
package/lib/color.js
+0
-4
package/package.json
+1
-1
package/lib/color.js
CHANGED
Viewed
@@ -226,10 +226,6 @@ function getSaturation(hsv, i, light) {
226
226
if (saturation > 1) {
227
227
saturation = 1;
228
228
}
229
-
// 第一格的 s 限制在 0.06-0.1 之间
230
-
if (light && saturation > 0.1) {
231
-
saturation = 0.1;
232
-
}
233
229
if (saturation < 0.06) {
234
230
saturation = 0.06;
235
231
}
package/package.json
CHANGED
Viewed
@@ -52,7 +52,7 @@
52
52
},
53
53
"./*": "./lib/*"
54
54
},
55
-
"version": "0.4.
4
",
55
+
"version": "0.4.
5
",
56
56
"type": "module",
57
57
"repository": {
58
58
"type": "git",