fix: prev refactor
This commit is contained in:
1 parent
3ef1540f8c
commit
486baa6e54
1 file changed
+2
-1
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user