fix: prev refactor
This commit is contained in:
@@ -87,7 +87,8 @@ function clampValue(value, isPercent, min, max) {
|
||||
} else {
|
||||
if (value >= max) {
|
||||
return max;
|
||||
} else if (value <= min) {
|
||||
}
|
||||
if (value <= min) {
|
||||
return min;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user