fix: prev refactor

This commit is contained in:
Cindy Chang
2024-07-22 14:29:13 +08:00
parent 3ef1540f8c
commit 486baa6e54

View File

@@ -87,7 +87,8 @@ function clampValue(value, isPercent, min, max) {
} else { } else {
if (value >= max) { if (value >= max) {
return max; return max;
} else if (value <= min) { }
if (value <= min) {
return min; return min;
} }
} }