feat:(slots UI): functional slots
This commit is contained in:
@@ -242,3 +242,7 @@ export function parseIntWithHexOrBinary(s: string): number {
|
||||
}
|
||||
return parseInt(s);
|
||||
}
|
||||
|
||||
export function clamp (val: number, min: number, max: number) {
|
||||
return Math.min(Math.max(val, min), max);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user